summaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_sleepq.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-1/+3
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326219
* Use __FBSDID() for .c files from lib/libthr/thread.Konstantin Belousov2016-04-081-2/+3
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=297706
* Create a common function lookup() to search a chan, this eliminatesDavid Xu2012-05-101-5/+9
| | | | | | | redundant SC_LOOKUP() calling. Notes: svn path=/head/; revision=235218
* Fix mis-merged line, move SC_LOOKUP() call toDavid Xu2012-05-051-1/+1
| | | | | | | upper level. Notes: svn path=/head/; revision=235068
* MFp4:David Xu2012-05-031-1/+5
| | | | | | | | | | Enqueue thread in LIFO, this can cause starvation, but it gives better performance. Use _thr_queuefifo to control the frequency of FIFO vs LIFO, you can use environment string LIBPTHREAD_QUEUE_FIFO to configure the variable. Notes: svn path=/head/; revision=234947
* Add sleep queue code.David Xu2010-12-221-0/+175
Notes: svn path=/head/; revision=216642