Rich Felker
|
02084109f0
streamline mutex unlock to remove a useless branch, use a_store to unlock
|
14 éve |
Rich Felker
|
124b4ebc8a
cheap special-case optimization for normal mutexes
|
14 éve |
Rich Felker
|
680630011d
reorder timer initialization so that timer_create does not depend on free
|
14 éve |
Rich Felker
|
1c1aa32eea
missing prototype for wcscoll (stub)
|
14 éve |
Rich Felker
|
8524d6536c
revert mutex "optimization" that turned out to be worse
|
14 éve |
Rich Felker
|
80c4dcd253
implement POSIX timers
|
14 éve |
Rich Felker
|
bf619d82c8
major improvements to cancellation handling
|
14 éve |
Rich Felker
|
70c31c7bd7
some preliminaries for adding POSIX timers
|
14 éve |
Rich Felker
|
8250742b90
fix tempnam name generation, and a small bug in tmpnam on retry limit
|
14 éve |
Rich Felker
|
a88edbec15
make tmpfile fail after exceeding max tries.
|
14 éve |
Rich Felker
|
507a9fa6ff
fix tmpnam to generate better names, not depend on non-ISO-C symbols
|
14 éve |
Rich Felker
|
9646e4d024
fix messed-up errno if remove fails for a non-EISDIR reason
|
14 éve |
Rich Felker
|
0b240ccf52
learned something new - remove is supposed to support directories on POSIX
|
14 éve |
Rich Felker
|
4106cdcd2d
revert some more spin optimizations that turned out to be pessimizations
|
14 éve |
Rich Felker
|
4cc78719dd
fix bug from syscall overhaul: extra __syscall_ret call for 0-arg syscalls
|
14 éve |
Rich Felker
|
117581ca69
fix broken spinlock due to miscompilation
|
14 éve |
Rich Felker
|
ef839c73d7
prototype for getpass
|
14 éve |
Rich Felker
|
83b6c9e052
remove useless field in pthread struct (wasted a good bit of space)
|
14 éve |
Rich Felker
|
05b694028e
fix getc - the classic error of trying to store EOF+0-255 in a char type..
|
14 éve |
Rich Felker
|
e3cd6c5c26
major stdio overhaul, using readv/writev, plus other changes
|
14 éve |
Rich Felker
|
ea343364a7
match glibc/lsb cancellation abi on i386
|
14 éve |
Rich Felker
|
92b52b70e8
remove -Wno-pointer-sign example from dist/config.mak
|
14 éve |
Rich Felker
|
9ae8d5fc71
fix all implicit conversion between signed/unsigned pointers
|
14 éve |
Rich Felker
|
a37452430f
simplify and optimize FILE lock handling
|
14 éve |
Rich Felker
|
d8dc2faf10
prepare pthread_spin_unlock for archs that need memory barriers
|
14 éve |
Rich Felker
|
b8b85a4272
optimize contended case for pthread_spin_trylock
|
14 éve |
Rich Felker
|
c322fe4e1a
optimize spinlock spin
|
14 éve |
Rich Felker
|
8ae2fa6563
fix non-atomicity of puts
|
14 éve |
Rich Felker
|
b470030f83
overhaul cancellation to fix resource leaks and dangerous behavior with signals
|
14 éve |
Rich Felker
|
0958200166
very cheap double-free checks in malloc
|
14 éve |