4 ms·
I liked the fact it has threads.h :) Most other c libraries don't have it, the few ones that do (musl for example) are linux-only usually...
by speeder 10y ago
I liked the fact it has threads.h :)
Most other c libraries don't have it, the few ones that do (musl for example) are linux-only usually...
- netheril96 10y agothreads.h doesn't differ much in usability from pthreads. And neither is supported on Windows. I fail to see the appeal.
- carc1n0gen 10y agoPelles c has threads.h on Windows
- blackguardx 10y agoIt has a header file called threads.h, but the implementation is just stubbed out unless you have pthreads.h available. Unless I'm missing something...
- shakna 10y agoI think pthread is implemented in /opt/pthreads [0], and I think you're right, looks like a bunch of wrapper APIs. [0] https://bitbucket.org/pdclib/pdclib/src/95be959efe2e/opt/pthreads/?at=default https://bitbucket.org/pdclib/pdclib/src/95be959efe2e/opt/pth...