This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [contribution] C11 threads implementation for Unix and Windows environments


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]