summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/flockfile.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use a Thread Information Block in both single and multi-threaded programs.guenther2016-05-071-24/+12
| | | | | | | | | | | | | | | | | This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable! Make libpthread dlopen'able by moving the cancelation wrappers into libc and doing locking and fork/errno handling via callbacks that libpthread registers when it first initializes. 'errno' *must* be declared via <errno.h> now! Clean up libpthread's symbol exports like libc. On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec. Testing by various, particularly sthen@ and patrick@ ok kettenis@
* sync comment with reality.fgsch2012-09-011-2/+2
|
* deregister + ansify, no change in object code. ok deraadt@ millert@otto2004-09-281-7/+4
|
* major bump to libc and libpthread to break the dependency of amarc2004-06-071-13/+2
| | | | | | particular implementation of libpthread for libc. libc no longer needs pthread.h to compile. OK millert@, brad@, tedu@
* put changes back, this time ALL the files.fgsch2001-09-041-2/+2
|
* Back out fgsch@'s tree breaking commits.todd2001-08-301-2/+2
| | | | Test next time, ok?
* fix some const warningsfgsch2001-08-301-2/+2
|
* use WEAK_* macrosd2000-01-061-12/+18
|
* Add thread-safety to libc, so that libc_r will build (on i386 at least).d1998-11-201-0/+49
All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO