summaryrefslogtreecommitdiffstats
path: root/lib/libstdthreads
Commit message (Collapse)AuthorAgeFilesLines
* MFC r312452-r312512:ngie2017-02-101-1/+1
| | | | | | | | | | r312452-r312512: - Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output - Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
* First pass through library packaging.gjb2016-02-041-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.bdrewery2015-11-251-1/+0
| | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.bdrewery2015-09-251-2/+0
| | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
* Add META_MODE support.sjg2015-06-131-0/+22
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * Merge sync of headsjg2015-05-274-5/+4
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-191-9/+18
| |\
| * \ Merge head from 7/28sjg2014-08-192-1/+2
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+1
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Updated dependenciessjg2013-03-111-0/+1
| | | |
| * | | Updated dependenciessjg2013-02-161-2/+0
| | | |
| * | | Updated/new Makefile.dependsjg2012-11-081-0/+4
| | | |
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+16
| | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | Use pthread_mutex_trylock(3) to implement mtx_trylock(3).kib2015-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Noted and tested by: Vineela <vineela_17@yahoo.com> PR: 198050 Sponsored by: The FreeBSD Foundation MFC after: 1 week
* | | | Check that the pointer to the thread return value is not NULL beforekib2015-02-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dereferencing. NULL is allowed by C11 and must be handled. Reported and tested by: Vineela <vineela_17@yahoo.com> PR: 198038 Sponsored by: The FreeBSD Foundation MFC after: 1 week
* | | | Convert libraries to use LIBADDbapt2014-11-251-2/+1
| |_|/ |/| | | | | | | | While here reduce a bit overlinking
* | | Add lock annotations to the header files of our threading libraries.ed2014-09-011-9/+18
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | This change extends all of the functions present in the <pthread.h> and <threads.h> headers to have lock annotations. This will allow Clang to warn about the following: - Locking a function twice, - Unlocking a function without a mutex being locked, - Forgetting to unlock a mutex before returning, - Destroying or reinitializing a mutex that is currenty locked, - Using an unlocked mutex in combination with a condition variable. Enabling these annotations already allowed me to catch a bug in one of our userspace tools (r270749).
* | use .Mt to mark up email addresses consistently (part3)bapt2014-06-231-1/+1
|/ | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* Pull up vendor changes to mdoc(7)uqs2012-01-051-2/+2
| | | | | | | | This switches us to using -isoC-2011 as the symbol name which is used by groff and mdocml. It follows the change to 4 digit years as done with IEEE Std 1003 post-1999. MFC after: 2 weeks (groff changes only)
* Add libstdthreads.ed2011-12-269-0/+892
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