aboutsummaryrefslogtreecommitdiff
path: root/lib/libkse/thread/thr_pselect.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the libkse directory. It was unhooked from the build and kernelBrooks Davis2014-04-161-61/+0
| | | | | | | | | | support removed in 2008 (prior to 8.0). Approved by: deischen, imp MFC after: 3 days Notes: svn path=/head/; revision=264543
* Remove hacks to allow libkse to export its symbols in the LIBTHREAD_1_0Daniel Eischen2007-12-161-3/+0
| | | | | | | | version namespace which was needed before the library version was bumped. Notes: svn path=/head/; revision=174689
* WARNS=3'ify.Daniel Eischen2007-11-301-3/+7
| | | | Notes: svn path=/head/; revision=174112
* Add compatibility symbol maps. libpthread (.so.1 and .so.2)Daniel Eischen2006-03-131-0/+3
| | | | | | | | | | | | | | used LIBTHREAD_1_0 as its version definition, but now needs to define its symbols in the same namespace used by libc. The compatibility hooks allows you to use libraries and binaries built and linked to libpthread before libc was built with symbol versioning. The shims can be removed if libpthread is given a version bump. Reviewed by: davidxu Notes: svn path=/head/; revision=156611
* Rename _thr_enter_cancellation_point to _thr_cancel_enter, renameDavid Xu2003-12-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | _thr_leave_cancellation_point to _thr_cancel_leave, add a parameter to _thr_cancel_leave to indicate whether cancellation point should be checked, this gives us an option to not check cancallation point if a syscall successfully returns to avoid any leaks, current I have creat(), open() and fcntl(F_DUPFD) to not check cancellation point after they sucessfully returned. Replace some members in structure kse with bit flags to same some memory. Conditionally compile THR_ASSERT to nothing if _PTHREAD_INVARIANTS is not defined. Inline some small functions in thr_cancel.c. Use __predict_false in thr_kern.c for some executed only once code. Reviewd by: deischen Notes: svn path=/head/; revision=123312
* Eek, staticize a couple of functions that shouldn'tDaniel Eischen2003-05-191-1/+3
| | | | | | | | | | | | | | | be external (initialize()!). Remove cancellation points from _pthread_cond_wait and _pthread_cond_timedwait (single underscore versions are libc private functions). Point the weak reference(!) for these functions to the versions with cancellation points. Approved by: re@(blanket till 5/19) Pointed out by: kan (cancellation point bug) Notes: svn path=/head/; revision=115173
* Revamp libpthread so that it has a chance of working in an SMPDaniel Eischen2003-04-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | environment. This includes support for multiple KSEs and KSEGs. The ability to create more than 1 KSE via pthread_setconcurrency() is in the works as well as support for PTHREAD_SCOPE_SYSTEM threads. Those should come shortly. There are still some known issues which davidxu and I are working on, but it'll make it easier for us by committing what we have. This library now passes all of the ACE tests that libc_r passes with the exception of one. It also seems to work OK with KDE including konqueror, kwrite, etc. I haven't been able to get mozilla to run due to lack of java plugin, so I'd be interested to see how it works with that. Reviewed by: davidxu Notes: svn path=/head/; revision=113658
* Make the changes needed for libpthread to compile in its new home.Jonathan Mini2002-09-161-1/+1
| | | | | | | | | | | The new libpthread will provide POSIX threading support using KSE. These files were previously repo-copied from src/lib/libc_r. Reviewed by: deischen Approved by: -arch Notes: svn path=/head/; revision=103388
* Add a wrapper for pselect() in order to make it a cancellation point.Daniel Eischen2002-06-281-0/+54
Prompted by: wollman Notes: svn path=/head/; revision=98975