[contribution] C11 threads implementation for Unix and Windows environments
Szabolcs Nagy
szabolcs.nagy@arm.com
Mon Feb 20 10:43:00 GMT 2017
On 20/02/17 07:49, Sebastian Huber wrote:
> Hello Gokan,
>
> you may have a look at:
>
> https://svnweb.freebsd.org/base/head/lib/libstdthreads/
note that despite the looks this is non-portable
and non-conforming implementation, it is way better
than the posted github code, but it can still clobber
errno, leak resources (and introduces cancellation
points which may or may not be conforming depending
how posix will integrate c11)
as far as i'm aware the only c11 conforming open source
implementation is the one in musl libc (and that's not
portable to other libcs either).
More information about the Gcc
mailing list