| Commit message (Expand) | Author | Files | Lines |
| 2011-10-14 | make available a namespace-safe vfork, if supported•••this may be useful to posix_spawn..?
| Rich Felker | 1 | -1/+4 |
| 2011-10-14 | add dummy __cxa_finalize•••musl's dynamic linker does not support unloading dsos, so there's
nothing for this function to do. adding the symbol in case anything
depends on its presence..
| Rich Felker | 1 | -0/+4 |
| 2011-10-14 | support __cxa_atexit, and registering atexit functions from atexit handlers•••mildly tested; may have bugs. the locking should be updated not to use
spinlocks but that's outside the scope of this one module.
| Rich Felker | 1 | -7/+26 |
| 2011-10-14 | simplify atexit and fflush-on-exit handling | Rich Felker | 3 | -9/+12 |
| 2011-10-09 | fix F_GETOWN return value handling•••the fcntl syscall can return a negative value when the command is
F_GETOWN, and this is not an error code but an actual value. thus we
must special-case it and avoid calling __syscall_ret to set errno.
this fix is better than the glibc fix (using F_GETOWN_EX) which only
works on newer kernels and is more complex.
| Rich Felker | 1 | -0/+1 |
| 2011-10-09 | fix typo in arm clone() asm | Rich Felker | 1 | -1/+1 |
| 2011-10-05 | fix fcntl O_* flags for arm•••no idea why these 4 are permuted and the rest are standard/generic
| Rich Felker | 1 | -4/+4 |
| 2011-10-04 | make [U]INTn_C() macros have the right type...•••...and still be valid in #if directives.
| Rich Felker | 1 | -4/+4 |
| 2011-10-03 | recovering ownerdead robust mutex must reset recursive lock count | Rich Felker | 1 | -0/+1 |
| 2011-10-03 | simplify robust mutex unlock code path•••right now it's questionable whether this change is an improvement or
not, but if we later want to support priority inheritance mutexes, it
will be important to have the code paths unified like this to avoid
major code duplication.
| Rich Felker | 1 | -4/+4 |
| 2011-10-03 | fix crash if pthread_mutex_unlock is called without ever locking•••this is valid for error-checking mutexes; otherwise it invokes UB and
would be justified in crashing.
| Rich Felker | 1 | -1/+1 |
| 2011-10-03 | use count=0 instead of 1 for recursive mutex with only one lock reference•••this simplifies the code paths slightly, but perhaps what's nicer is
that it makes recursive mutexes fully reentrant, i.e. locking and
unlocking from a signal handler works even if the interrupted code was
in the middle of locking or unlocking.
| Rich Felker | 2 | -4/+2 |
| 2011-10-03 | sysconf for PTHREAD_KEYS_MAX | Rich Felker | 1 | -1/+1 |
| 2011-10-02 | synchronize cond var destruction with exiting waits | Rich Felker | 3 | -0/+12 |
| 2011-10-01 | fix failure-to-wake in rwlock unlock•••a reader unlocking the lock need only wake one waiter (necessarily a
writer, but a writer unlocking the lock must wake all waiters
(necessarily readers). if it only wakes one, the remainder can remain
blocked indefinitely, or at least until the first reader unlocks (in
which case the whole lock becomes serialized and behaves as a mutex
rather than a read lock).
| Rich Felker | 1 | -1/+1 |