Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Remove unused variables
Silence some warnings
lint(1) is your friend
|
|
|
|
Make sure everything uses {SYS,}LIBC_SCCS properly
|
|
using HASHFRACTION directly. in time-critical calculations, if HASHFRACTION
is a power of two, check that p->hashfraction == HASHFRACTION and if so do
the calculation with the compiled-in value so that the compiler can optimize
out (potentially) expensive divisions. if p->hashfraction != HASHFRACTION,
actually do the division. This has the result that on machines with slow
division, the division can be optimized out of the common case, but that
if HASHFRACTION changes from the compiled-in value (for whatever reason),
profiling will still work. Changes suggested by Chris Torek.
|
|
Use __asm, not asm
|
|
kill a gratuitous cast of lowpc to an int
Add support for PROFDIR environment variable
|
|
|