Hacker News new | past | comments | ask | show | jobs | submit login

The C threads interface is missing important functionality --- priority inheritance and static mutex initializers come to mind. C11 threads.h is a lowest-common-denominator portability shim, not a general-purpose pthreads replacement.



threads.h are the lowest common denominator. If you want system specific functionality you can always wrap those functions.

Static mutex init can be emulated with call_once() function, with some limitations of its own of course.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: