summaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_detach.c
Commit message (Collapse)AuthorAgeFilesLines
* Change all instances of THR_LOCK/UNLOCK, etc to UMTX_*.Mike Makonnen2003-07-061-3/+3
| | | | | | | | It is a more acurate description of the locks they operate on. Notes: svn path=/head/; revision=117277
* Sweep through pthread locking and use the new locking primitives forMike Makonnen2003-06-291-3/+3
| | | | | | | libthr. Notes: svn path=/head/; revision=117049
* Unwind the _giant_mutex from pthread_detach(). When detaching a joiner threadMike Makonnen2003-06-021-8/+8
| | | | | | | | it's important the correct lock order is observed: lock first the joined and then the joiner. Notes: svn path=/head/; revision=115693
* Make WARNS2 clean. The fixes mostly included:Mike Makonnen2003-05-231-0/+1
| | | | | | | | | | | o removed unused variables o explicit inclusion of header files o prototypes for externally defined functions Approved by: re/blanket libthr Notes: svn path=/head/; revision=115260
* - Define curthread as _get_curthread() and remove all direct calls toJeff Roberson2003-04-021-4/+0
| | | | | | | | | | _get_curthread(). This is similar to the kernel's curthread. Doing this saves stack overhead and is more convenient to the programmer. - Pass the pointer to the newly created thread to _thread_init(). - Remove _get_curthread_slow(). Notes: svn path=/head/; revision=112965
* - Add libthr but don't hook it up to the regular build yet. This is anJeff Roberson2003-04-011-0/+82
adaptation of libc_r for the thr system call interface. This is beta quality code. Notes: svn path=/head/; revision=112918