summaryrefslogtreecommitdiffstats
path: root/lib/libstdthreads/thrd.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r279318:kib2015-03-051-1/+2
| | | | | Check that the pointer to the thread return value is not NULL before dereferencing. NULL is allowed by C11 and must be handled.
* Add libstdthreads.ed2011-12-261-0/+127
This library implements the C11 threads interface on top of the pthreads library. As discussed on the lists, the preferred way to implement this, is as a separate library. It is unlikely that these functions will be used a lot in the future. It would have been easier if the C11 working group standardized (a subset of) pthreads and clock_nanosleep(). Having it as a separate library allows the embedded people to omit it from their system. Discussed on: arch@, threads@
OpenPOWER on IntegriCloud