summaryrefslogtreecommitdiff
path: root/lib/libc/thread-stub
AgeCommit message (Collapse)Author
2013-08-19Put the startup code in .text.startupmatt
2013-05-28mark __libc_thr_exit_stub dead here toochristos
2013-04-27Provide stubs for pthread_detach/pthread_join.joerg
2013-04-12Weak alias directly to the catchall stub and don't strong alias twice.joerg
2013-04-05split init and errno to a separate file. No point in growing rtld 10K.christos
2013-03-21- Allow libpthread to be dlopened again, by providing libc stubs to libpthread.christos
- Fail if the dlopened libpthread does pthread_create(). From manu@ - Discussed at length in the mailing lists; approved by core@ - This was chosen as the least intrusive patch that will provide the necessary functionality. XXX: pullup to 6
2011-09-16Use __deadjoerg
2009-12-01Assign copyright to TNFexplorer
2009-01-30Make threaded programs die correctly:ad
kill(getpid(), SIGFOO) -> raise(SIGFOO)
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2007-12-14add fw decl.christos
2007-12-14fix obvious bogon [can't alias symbol to itself]christos
2007-11-27Add thr_curcpu(), pthread_curcpu_np().ad
2007-11-14Add pthread_equal() to libc stubs; this makes a lot of sense fordrochner
threadsafe libraries implementing own locking functions. Ride on yesterday's minor version bumps.
2007-11-13- stack_protector.c doesn't really belong under sys/. Add a new directoryad
for misc support routines and put it there. - Add a libc constructor. Use this to initialize threading and the stack protector stuff. libpthread cannot be initialized safely using its own constructor because libc and libpthread are deeply intertwined. PR bin/37347
2005-11-29WARNS=4christos
2005-06-12Add missing __RCSID()lukem
2004-12-14Fix the __libc_thr_yield_stub() signature.nathanw
2004-12-13The __libc_thr_yield_stub() for scched_yield() should return int (andnathanw
a 0), not void.
2004-12-06Implement __libc_thr_sigsetmask_stub() in terms of sigprocmask(),nathanw
instead of having a dummy function.
2003-07-18Add a stub for setcancelstate().nathanw
2003-03-01Add #include <stdlib.h> for exit definition.matt
2003-01-20Simple TSD implementation, since some thread-safe libraries wantthorpej
to use it.
2003-01-20Make thr_self() not return NULL.thorpej
2003-01-19Add some threadlib stubs that are used by X:thorpej
* 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-19Add mutexattr_init(), mutexattr_destroy(), and mutexattr_settype() (recursivethorpej
mutexes are used by the X libraries).
2003-01-19Make the libc thr_once() stub functional.thorpej
2003-01-18Merge the nathanw_sa branch.thorpej
2000-01-22Delint.mycroft
Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
1999-12-03add. This holds the global __isthreaded variable, to indicate that threadingexplorer
is (or is not) present.
1999-12-03typoexplorer
1999-11-14add stub thread functions. These are not (yet) used, and always returnexplorer
success. They are weak-aliased, so if linked with a real pthreads library the correct magic will happen.