summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add entries for new pthread stubs.davidxu2006-03-101-0/+30
|
* Block all signals in helper threads except those should not be blocked.davidxu2006-03-101-6/+9
|
* Implement printf 'X' conversion for both libstand and kernel.jkim2006-03-091-9/+11
|
* Connect librt to buildworld.davidxu2006-03-091-1/+2
|
* Remove mqueue and timer, now they are in librt.davidxu2006-03-082-525/+0
|
* Remove mq.c, the POSIX mqueue is implemented in librt.davidxu2006-03-081-73/+0
| | | | Suggested by: deischen
* Remove configure.ac.in and reorganize a few other things. This iskientzle2006-03-085-232/+38
| | | | | part of a program to remove the non-FreeBSD autoconf/automake build system for libarchive from the FreeBSD source tree.
* Set SNF_SYNC flag for timer, as the timer notification should bedavidxu2006-03-081-0/+1
| | | | serialized.
* Remove stale comments.davidxu2006-03-071-4/+0
|
* 1. Always call user callback function in newly created thread, it seemsdavidxu2006-03-075-412/+170
| | | | | | POSIX implies that the user callback function must be executed in clean environment. 2. Use newly introduced pthread stubs in libc.
* Add appropriate xrefs.yar2006-03-062-2/+3
| | | | MFC after: 3 days
* Since the whole login.access feature has moved to PAM,yar2006-03-061-1/+1
| | | | | | | login.access.5 will be installed from the respective PAM module's src directory. MFC after: 3 days
* Sync with src/usr.bin/login/login.access.5.yar2006-03-061-5/+1
| | | | | | | | src/usr.bin/login/login.access.5 should be removed from use because the whole login.access feature has moved to this PAM module. MFC after: 3 days
* Only catch SIGINFO (for dumping thread states) when LIBPTHREAD_DEBUGdeischen2006-03-066-32/+56
| | | | | | is defined in the environment. Requested by: jmg & a few others
* Add some more pthread stubs so that librt can use them.deischen2006-03-056-43/+273
| | | | | | | The thread jump table has been resorted, so you need to keep libc, libpthread, and libthr in sync. Submitted by: xu
* Remove a useless word.brueffer2006-03-051-1/+1
| | | | | | PR: 94087 Submitted by: Tadaaki Nagao <nagao@iij.ad.jp> MFC after: 3 days
* Use `intmax_t' instead of plain `int' for pid_t casts.keramida2006-03-041-3/+3
| | | | | | Useful tips from: ru, bde Approved by: pjd MFC after: 3 days
* Use a thread pool to process notification if sigev_notify_attributesdavidxu2006-03-045-63/+326
| | | | | | | | is default and caller does not require dedicated thread. timer needs a dedicated thread to maintain overrun count correctly in notification context. mqueue and aio can use thread pool to do notification concurrently, the thread pool has lifecycle control, some threads will exit if they have idled for a while.
* save sigev_node pointer.davidxu2006-03-041-0/+1
|
* Sync with actual code.jcamou2006-03-031-2/+6
| | | | | | | | PR: docs/87681 Noticed by: Andreas Kohn <andreas@syndrom23.de> Reviewed by: brooks Approved by: trhodes (mentor) MFC after: 3 days
* Fix the %Q printf extension to behave as expectedphk2006-03-021-19/+9
|
* 1. Fix a race in aio_return.davidxu2006-03-011-6/+12
| | | | | 2. Save and restore syscall errno correctly. 3. Style fix.
* Style fix.davidxu2006-03-011-1/+2
|
* Fix a mutex lock/unlock mismatch.davidxu2006-03-011-2/+3
|
* Handle the errors returned by res_querydomain() in same manner.ume2006-03-012-0/+40
| | | | | | Reported by: yar Tested by: yar, Rostislav Krasny <rosti.bsd__at__gmail.com> MFC after: 1 week
* Forgot to revert to use weak symbols when I was debugging, fix it!davidxu2006-03-011-22/+15
|
* Add missing parameter mq_attr * for mq_open.davidxu2006-03-011-3/+5
|
* Bring in my initial version of POSIX realtime extension library.davidxu2006-03-016-0/+1112
| | | | | | | Current the library implements mqueue, timer and aio with SIGEV_THREAD notification supported. Earlier version reviewed by: deischen
* Disconnect mqueue from buildworld, as I will implement it in seperateddavidxu2006-03-011-1/+1
| | | | library.
* Const'ify arguments to a couple of functions to fix breakagedeischen2006-02-281-2/+2
| | | | with -O2.
* Don't do a time travel to 12006...delphij2006-02-281-1/+1
|
* Reimplement mutex_init to get rid of compile warning.davidxu2006-02-281-88/+39
|
* Staticize a couple of functions.deischen2006-02-2723-71/+106
| | | | | | Remove a few unused locks. Remove locks from application namespace.
* Correct a comment.deischen2006-02-273-22/+6
| | | | | | | | | Staticize two tables thare are not visible in <resolv.h> and which are also local in Solaris' libresolv. Remove two functions that are not referenced in libc nor anywhere else I can find, not visible in <resolv.h> and which are also local in Solaris libresolv.
* Fix typo in manual page reference.wkoszek2006-02-261-1/+1
| | | | | Approved by: cognet (mentor) MFC after: 3 days
* Sync inet_net_pton() and inet_net_ntop() with latest BIND9's includesume2006-02-263-85/+420
| | | | | | | | | an IPv6 support. PR: kern/93740 Submitted by: Rudolf Cejka <cejkar__at__fit.vutbr.cz> Obtained from: BIND9 MFC after: 1 week
* Add an alias 'unhalted-cycles' denoting cycles where the CPU isjkoshy2006-02-252-0/+6
| | | | not in a halt or sleep state.
* Fix a race condition introduced when redzones were added. Use andeischen2006-02-242-10/+8
| | | | | | atomic operation to return and adjust the stack. Submitted by: luoqi
* - Just query 'as is', if there is a trailing dot in the name.ume2006-02-242-18/+40
| | | | | | | | | | - Don't query 'as is' twice. PR: bin/62139 Reported by: Rostislav Krasny <rosti.bsd__at__gmail.com> Tested by: Rostislav Krasny <rosti.bsd__at__gmail.com> Obtained from: BIND9 (with some modification) MFC after: 1 week
* Eliminate a race condition in timed waits (cv, mutex, and sleeps).deischen2006-02-236-60/+60
| | | | | | MFC Candidate. PR: 93592
* Tell the truth about a) how to get the first fileid, andyar2006-02-221-5/+10
| | | | | | | | b) what return values from kldstat(2) can be expected. Bump .Dd. MFC after: 3 days
* Disable POSIX SIGEV_THREAD notification support, soon we will have a commondavidxu2006-02-221-1/+0
| | | | library which can be reused both for libthr and libpthread.
* Read cycle count before sending signal, this fixes a userland threaddavidxu2006-02-201-1/+1
| | | | | | suspension bug. MFC after: 3 days
* Add utility functions for checking if a given kernel module is loaded,des2006-02-184-2/+180
| | | | and loading it.
* - Massage wording to make it easier to understand and fix some grammar.brd2006-02-161-4/+4
| | | | | | | Submitted by: sbahra at gwu dot edu Reviewed by: ru@ Approved by: ceri@ MFC after: 3 days
* Don't forget to initialize a tailq before using it.deischen2006-02-162-0/+2
| | | | | MFC candidate Noticed by: luoqi
* Rework last change of pthread_once, create a function _thr_once_init todavidxu2006-02-153-6/+10
| | | | reinitialize its internal locks.
* After fork(), reinitialize internal locks for pthread_once().davidxu2006-02-153-11/+15
|
* Clean up some descriptions and remove ambiguities in the language.gnn2006-02-142-97/+146
| | | | | | Add explanations to the examples. MFC after: 1 week
* Minor fixes to the code that generates an internal ustar filenamekientzle2006-02-141-21/+22
| | | | for Pax extended attribute entries.
OpenPOWER on IntegriCloud