Mesa Starting To Use C11 Threads, Boost
Written by Michael Larabel in Mesa on 23 January 2014 at 09:04 AM EST. 14 Comments
The latest Mesa code in Git is now using C11 Threads via a Boost emulation library.

The C11 revision of the C programming language has built-in multi-threading support as most Phoronix readers are now aware. The C11 threads bring standardization to the threading semantics, lightweight inter-thread communication, etc. In place of explicitly relying upon POSIX Threads (pthreads), the C11 threads are now used and backed by a Boost C11 Threads emulation library.

This emulation library abstracts the thread support while supporting pthreads on POSIX platforms and Win32 threads on Microsoft's releases going back to Windows XP.

The commits adding this Boost library and then taking advantage of the C11 Threads abstraction can be found with this Git search. The changes were made across several commits by José Fonseca at VMware.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Mesa News
Popular News
Trending Reviews & Featured Articles