Commit Graph

16 Commits

Author SHA1 Message Date
lukem 88c3eadbfa Add missing __RCSID() 2005-06-12 05:21:25 +00:00
nathanw 9ae878eb94 Fix the __libc_thr_yield_stub() signature. 2004-12-14 00:21:40 +00:00
nathanw 50df45f4e5 The __libc_thr_yield_stub() for scched_yield() should return int (and
a 0), not void.
2004-12-13 16:07:13 +00:00
nathanw 08c663a3c0 Implement __libc_thr_sigsetmask_stub() in terms of sigprocmask(),
instead of having a dummy function.
2004-12-06 18:58:12 +00:00
nathanw d271509d77 Add a stub for setcancelstate(). 2003-07-18 21:44:38 +00:00
matt 0b61283edc Add #include <stdlib.h> for exit definition. 2003-03-01 22:11:40 +00:00
thorpej d504e2bb9c Simple TSD implementation, since some thread-safe libraries want
to use it.
2003-01-20 01:58:54 +00:00
thorpej 71b91cf442 Make thr_self() not return NULL. 2003-01-20 01:30:15 +00:00
thorpej 7dc01dbfab Add some threadlib stubs that are used by X:
* thr_create() (stub in libc aborts)
* thr_exit() (stub in libc calls exit())
* thr_yield() (stub in libc does nothing)

Also make the libc thr_self() stub not abort.

XXX Should we add thrattr_*() stubs for setting the detach-state?
2003-01-19 21:58:21 +00:00
thorpej 592409d356 Add mutexattr_init(), mutexattr_destroy(), and mutexattr_settype() (recursive
mutexes are used by the X libraries).
2003-01-19 20:46:11 +00:00
thorpej 036383cc03 Make the libc thr_once() stub functional. 2003-01-19 19:48:45 +00:00
thorpej 3fdac2b8c5 Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
mycroft 605490369c Delint.
Remove trailing ; from uses of __weak_alias().  The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
explorer 179a2df725 add. This holds the global __isthreaded variable, to indicate that threading
is (or is not) present.
1999-12-03 06:37:34 +00:00
explorer 7d1b0fabbc typo 1999-12-03 06:36:55 +00:00
explorer 3dde14339c add stub thread functions. These are not (yet) used, and always return
success.  They are weak-aliased, so if linked with a real pthreads library
the correct magic will happen.
1999-11-14 18:34:15 +00:00