-
3df3d4f512
fix misspelled PTHREAD_CANCELED constant
Rich Felker
2011-04-01 20:48:02 -04:00
-
c1f1500433
document more changes
Rich Felker
2011-04-01 20:47:54 -04:00
-
78eb0879cd
document changes for upcoming 0.7.5 release
Rich Felker
2011-04-01 20:36:01 -04:00
-
ded6cb5f71
use a_store to set cancel flag in pthread_cancel, to ensure a barrier
Rich Felker
2011-04-01 19:53:16 -04:00
-
c1b39b203d
simplify pthread_key_delete
Rich Felker
2011-03-31 19:06:22 -04:00
-
c9806fc2f9
greatly simplify pthread_key_create (~20% size reduction)
Rich Felker
2011-03-31 19:04:56 -04:00
-
a5323c5768
add some missing prototypes for nonstandard functions (strsep, clearenv)
Rich Felker
2011-03-30 14:14:26 -04:00
-
3990c5c6a4
avoid all malloc/free in timer creation/destruction
Rich Felker
2011-03-30 13:04:55 -04:00
-
b8be64c43d
optimize timer creation and possibly protect against some minor races
Rich Felker
2011-03-30 12:06:39 -04:00
-
a1eb8cb5da
avoid crash on stupid but allowable usage of pthread_mutex_unlock
Rich Felker
2011-03-30 10:32:45 -04:00
-
620a134638
rename __simple_malloc.c to lite_malloc.c - yes this affects behavior!
Rich Felker
2011-03-30 09:29:49 -04:00
-
02084109f0
streamline mutex unlock to remove a useless branch, use a_store to unlock
Rich Felker
2011-03-30 09:06:00 -04:00
-
124b4ebc8a
cheap special-case optimization for normal mutexes
Rich Felker
2011-03-30 08:58:25 -04:00
-
680630011d
reorder timer initialization so that timer_create does not depend on free
Rich Felker
2011-03-29 22:43:13 -04:00
-
1c1aa32eea
missing prototype for wcscoll (stub)
Rich Felker
2011-03-29 18:30:27 -04:00
-
8524d6536c
revert mutex "optimization" that turned out to be worse
Rich Felker
2011-03-29 15:11:25 -04:00
-
80c4dcd253
implement POSIX timers
Rich Felker
2011-03-29 13:01:25 -04:00
-
bf619d82c8
major improvements to cancellation handling
Rich Felker
2011-03-29 12:58:22 -04:00
-
70c31c7bd7
some preliminaries for adding POSIX timers
Rich Felker
2011-03-29 10:05:57 -04:00
-
8250742b90
fix tempnam name generation, and a small bug in tmpnam on retry limit
Rich Felker
2011-03-29 09:00:22 -04:00
-
a88edbec15
make tmpfile fail after exceeding max tries.
Rich Felker
2011-03-29 08:37:57 -04:00
-
507a9fa6ff
fix tmpnam to generate better names, not depend on non-ISO-C symbols
Rich Felker
2011-03-29 08:34:47 -04:00
-
9646e4d024
fix messed-up errno if remove fails for a non-EISDIR reason
Rich Felker
2011-03-29 08:25:59 -04:00
-
0b240ccf52
learned something new - remove is supposed to support directories on POSIX
Rich Felker
2011-03-29 08:24:28 -04:00
-
4106cdcd2d
revert some more spin optimizations that turned out to be pessimizations
Rich Felker
2011-03-28 22:36:55 -04:00
-
4cc78719dd
fix bug from syscall overhaul: extra __syscall_ret call for 0-arg syscalls
Rich Felker
2011-03-28 22:34:27 -04:00
-
117581ca69
fix broken spinlock due to miscompilation
Rich Felker
2011-03-28 22:22:54 -04:00
-
ef839c73d7
prototype for getpass
Rich Felker
2011-03-28 20:43:51 -04:00
-
83b6c9e052
remove useless field in pthread struct (wasted a good bit of space)
Rich Felker
2011-03-28 20:29:08 -04:00
-
05b694028e
fix getc - the classic error of trying to store EOF+0-255 in a char type..
Rich Felker
2011-03-28 17:31:01 -04:00
-
e3cd6c5c26
major stdio overhaul, using readv/writev, plus other changes
Rich Felker
2011-03-28 01:14:44 -04:00
-
ea343364a7
match glibc/lsb cancellation abi on i386
Rich Felker
2011-03-25 22:13:57 -04:00
-
92b52b70e8
remove -Wno-pointer-sign example from dist/config.mak
Rich Felker
2011-03-25 16:50:49 -04:00
-
9ae8d5fc71
fix all implicit conversion between signed/unsigned pointers
Rich Felker
2011-03-25 16:34:03 -04:00
-
a37452430f
simplify and optimize FILE lock handling
Rich Felker
2011-03-24 23:16:52 -04:00
-
d8dc2faf10
prepare pthread_spin_unlock for archs that need memory barriers
Rich Felker
2011-03-24 23:06:48 -04:00
-
b8b85a4272
optimize contended case for pthread_spin_trylock
Rich Felker
2011-03-24 23:06:08 -04:00
-
c322fe4e1a
optimize spinlock spin
Rich Felker
2011-03-24 23:05:17 -04:00
-
8ae2fa6563
fix non-atomicity of puts
Rich Felker
2011-03-24 22:58:21 -04:00
-
b470030f83
overhaul cancellation to fix resource leaks and dangerous behavior with signals
Rich Felker
2011-03-24 14:18:00 -04:00
-
0958200166
very cheap double-free checks in malloc
Rich Felker
2011-03-23 13:24:00 -04:00
-
aa398f56fa
global cleanup to use the new syscall interface
Rich Felker
2011-03-20 00:16:43 -04:00
-
be82e122bf
if returning errno value directly from a syscall, we need to negate it.
Rich Felker
2011-03-19 23:18:34 -04:00
-
bae862ab18
honor namespace for i386 syscall.h, even though it's not a standard header
Rich Felker
2011-03-19 22:18:53 -04:00
-
7877db6b2f
fix typo in x86_64 part of syscall overhaul
Rich Felker
2011-03-19 21:50:20 -04:00
-
685e40bb09
syscall overhaul part two - unify public and internal syscall interface
Rich Felker
2011-03-19 21:36:10 -04:00
-
462dbfc207
remove comment cruft that got left behind in x86_64 syscall.s
Rich Felker
2011-03-19 19:05:43 -04:00
-
b0e83133e2
add some ioctl stuff to sys/mount.h
Rich Felker
2011-03-19 18:58:32 -04:00
-
d00ff2950e
overhaul syscall interface
Rich Felker
2011-03-19 18:51:42 -04:00
-
56fd65e861
some linux headers useful from user apps.
Rich Felker
2011-03-18 21:53:30 -04:00
-
f5ba2bc9ca
various legacy and linux-specific stuff
Rich Felker
2011-03-18 21:52:26 -04:00
-
fc27b96c7d
document changes for 0.7.1
Rich Felker
2011-03-18 09:59:20 -04:00
-
e18b563821
implement [v]swprintf
Rich Felker
2011-03-18 09:19:09 -04:00
-
c35bb6645f
implement wprintf family of functions
Rich Felker
2011-03-17 22:55:43 -04:00
-
a012aa879f
fix broken wmemchr (unbounded search)
Rich Felker
2011-03-17 22:38:45 -04:00
-
047e434ef5
implement robust mutexes
Rich Felker
2011-03-17 20:41:37 -04:00
-
18c7ea8055
avoid function call to pthread_self in mutex unlock
Rich Felker
2011-03-17 13:35:08 -04:00
-
93cc986ab3
reorder mutex struct fields to make room for pointers (upcoming robust mutexes)
Rich Felker
2011-03-17 13:17:15 -04:00
-
b1c43161c2
unify lock and owner fields of mutex structure
Rich Felker
2011-03-17 12:21:32 -04:00
-
e914f8b7ec
optimize contended normal mutex case; add int compare-and-swap atomic
Rich Felker
2011-03-17 12:14:40 -04:00
-
1d59f1eddb
simplify logic, slightly optimize contended case for non-default mutex types
Rich Felker
2011-03-16 16:49:42 -04:00
-
d4f9e0b364
correct error returns for error-checking mutexes
Rich Felker
2011-03-16 16:25:00 -04:00
-
29fae65780
cut out a syscall on thread creation in the case where guard size is 0
Rich Felker
2011-03-16 11:36:21 -04:00
-
cc832d8a31
don't expose EAGAIN, etc. from timed futex wait to caller
Rich Felker
2011-03-16 11:35:46 -04:00
-
4d9cc0b399
optimize file locking: avoid cache-polluting writes to global storage
Rich Felker
2011-03-16 10:39:45 -04:00
-
9dd7d7e3f6
partially-written draft of fmemopen, still in #if 0
Rich Felker
2011-03-14 11:49:55 -04:00
-
b446c55b6f
remove some old cruft from sys/types.h
Rich Felker
2011-03-14 11:49:17 -04:00
-
eff62b8a96
misplaced & in times() made it fail to work, and clobber the stack
Rich Felker
2011-03-12 22:53:17 -05:00
-
5eb0d33ec0
implement flockfile api, rework stdio locking
Rich Felker
2011-03-12 21:55:45 -05:00
-
d8d19f4d46
pthread.h needs clockid_t
Rich Felker
2011-03-12 21:54:19 -05:00
-
9f50b77d2b
document some additional important changes
Rich Felker
2011-03-11 14:51:36 -05:00
-
6f05b6bbd5
update whatsnew file for release of 0.7.0
Rich Felker
2011-03-11 13:38:09 -05:00
-
8bb0e48889
match dimensions so we can use all slots without invoking OOB-array-access
Rich Felker
2011-03-11 10:02:17 -05:00
-
243b542382
implement dummy pthread_attr_[gs]etschedparam functions
Rich Felker
2011-03-11 09:51:54 -05:00
-
1659aa0e62
fix pthread_attr_* implementations to match corrected prototypes
Rich Felker
2011-03-11 09:51:14 -05:00
-
cabf2ff349
fix missing ENOTSUP error code
Rich Felker
2011-03-11 09:50:54 -05:00
-
f1821fce81
missing const in some pthread_attr_* prototypes
Rich Felker
2011-03-11 09:46:31 -05:00
-
2676198733
formatting whatsnew file
Rich Felker
2011-03-11 09:46:12 -05:00
-
8d07a0350e
list major changes in preparation for release
Rich Felker
2011-03-11 00:48:40 -05:00
-
682a0f271f
fix failure behavior of sem_open when sem does not exist
Rich Felker
2011-03-10 22:05:16 -05:00
-
cfe581b6bc
fix some semaphore wait semantics (race condition deadlock and error checking)
Rich Felker
2011-03-10 21:52:18 -05:00
-
81af503610
fix sem_open and sem_close to obey posix semantics
Rich Felker
2011-03-10 21:34:19 -05:00
-
5fcebcde6a
optimize pthread termination in the non-detached case
Rich Felker
2011-03-10 18:31:37 -05:00
-
dc54a7cbb9
fix errors in sigqueue (potential information leak, wrong behavior)
Rich Felker
2011-03-10 18:26:29 -05:00
-
52213f7341
security fix: check that cancel/rsyscall signal was sent by the process itself
Rich Felker
2011-03-10 11:59:39 -05:00
-
11dbbe9fba
more cancellation points: tcdrain, clock_nanosleep
Rich Felker
2011-03-10 11:06:50 -05:00
-
c8c4ef7d44
remove useless return value checks for functions that cannot fail
Rich Felker
2011-03-10 11:02:29 -05:00
-
0f8cc94d68
make sigsuspend a cancellation point
Rich Felker
2011-03-10 11:01:11 -05:00
-
5b9429adb7
make sigtimedwait a cancellation point
Rich Felker
2011-03-10 10:59:50 -05:00
-
0a949ebdf0
don't fail with EINTR in sigtimedwait
Rich Felker
2011-03-10 10:43:09 -05:00
-
0558683d3d
fix sigsuspend syscall
Rich Felker
2011-03-10 10:26:16 -05:00
-
6871fd773d
make sigaltstack work (missing macros in signal.h, error conditions)
Rich Felker
2011-03-10 10:17:29 -05:00
-
1b538acb0a
fix errno behavior in clock_* functions
Rich Felker
2011-03-10 09:54:23 -05:00
-
500c969f05
fix error handling for pthread_sigmask
Rich Felker
2011-03-09 20:31:06 -05:00
-
3f5420bcda
make fork properly initialize the main thread in the child process
Rich Felker
2011-03-09 20:23:44 -05:00
-
6dc05fbe19
optimize pthread initialization
Rich Felker
2011-03-09 20:21:23 -05:00
-
0bed7e0acf
fix race condition in raise - just mask signals
Rich Felker
2011-03-09 20:07:24 -05:00
-
370f78f2c8
fix raise semantics with threads.
Rich Felker
2011-03-09 19:42:06 -05:00
-
91f7db2621
fix typos in dirent.h
Rich Felker
2011-03-08 17:34:26 -05:00
-
ac12eb91bd
fcntl.h should make availabel the mode constants from sys/stat.h
Rich Felker
2011-03-08 12:35:35 -05:00