Re: C11 threads patch proposal

2019-04-24 Thread Kamil Rytarowski
I wrote this almost 3 years ago and I don't remember what was the original rationale, probably trying to be as independent from as possible, but in the end I've included in in order to reuse regular symbols such as PTHREAD_ONCE_INIT. Thank you for pointing this. I will switch it to pthread_key_

Re: C11 threads patch proposal

2019-04-24 Thread enh
any reason you're using `int` rather than `pthread_key_t` for `tss_t`? (given that the other C11 types are just the pthread types.) for Android, i'm going with all the types being the same, and wondered if i missed something here? On Thu, Apr 18, 2019 at 6:30 PM Kamil Rytarowski wrote: > > I wrot

C11 threads patch proposal

2019-04-18 Thread Kamil Rytarowski
I wrote a complete C11 threading support for NetBSD. The original implementation was written in 2016 and interrupted due to some issues in libpthread(3). These bugs are now gone. In the context of final implementation of C11 threads in GLIBC and the process of making it a part of POSIX, I've pick