| Age | Commit message (Collapse) | Author |
|
|
|
- return EPERM when unlocking a lock which isn't held
=> prevent the failure in PR 24023, where the citrus code had a deadlocking
code path
- remove deadlock check in pthread_rwlock_tryrdlock, return EBUSY instead
=> makes pthread_rwlock_tryrdlock standards compliant
|
|
uninit function can call close again, which will try to obtain a held
lock. Unlock the lock before calling the actual close function, since
we already disassociated cm from the rest of the data structures.
|
|
fix a typo.
|
|
Bump date for previous.
|
|
|
|
- Mention all MI threads that are not device specific; i.e. mention scsibus,
usb, raidframe, nfs, but not pms.
|
|
|
|
|
|
|
|
items.
|
|
|
|
|
|
what "long" means in xdr context).
Fixes PR lib/23960.
|
|
|
|
|
|
This makes sparc64 pass the sigsetjmp regression tests.
|
|
|
|
|
|
- strong alias __sigprocmask14 to pthread_sigmask
- call _sys___sigprocmask14 where appropriate
- make pthread_sigmask not set the signal mask lazily when pthreads
aren't started yet
|
|
- add pt_stackinfo to struct __pthread_st
- add pthread__stackinfo_offset returning the offset from ss_sp to
pt_stackinfo
- pass stackinfo_offset to sa_register and set SA_FLAG_STACKINFO to
make the kernel use it
- call pthread__sa_recycle in pthread__resolve_locks; g/c recycleq and
pthread__recycle_bulk
- return stack in pthread__sa_recycle by incrementing sasi_stackgen
- make pthread__sa_recycle debugging output formatting conditional on
pthread__debug_newline
|
|
- add ssize_t stackinfo_offset argument to sa_register syscall
- remove sa_unblockyield syscall
- make __sigprocmask14 syscall weak
- in pthread__sa_start: catch up with 4-argument sa_register syscall
|
|
|
|
|
|
|
|
|
|
- add PTHREAD_PID_DEBUG which prints the pid before each debuglog line
- output thread returned in pthread__next
- add asserts in pthread__sched akin to asserts in pthread__sched_bulk:
check if scheduled thread is at front/end of queue
- pthread__upcall: output event/interrupted LWP count instead of LWPid
of the first event/interrupted LWP (since unblock upcalls can have
multiple event LWPs).
- pthread__find_interrupted: output LWPid here
|
|
linked versions of the clonetest regression test.
While here, some cosmetics: branch prediction, avoid depreceated instructions.
|
|
|
|
|
|
|
|
|
|
pthread.h pthread_int.h pthread_md.h
Should help prevent the problem I raised in [kern/23946], based on
a hint from Christian Limpach.
Add MAKEVERBOSE support.
|
|
|
|
sa_unblockyield.
XXX g/c sa_unblockyield in kernel later
|
|
Frob the clone's stack pointer to be BIASed - it is 64 bit code too.
Use "carry set" as test for a failed syscall.
|
|
the argument.
This makes sparc64 pass regress/lib/libc/ldexp.
|
|
for SCNd8 and friends - so we should support it properly (and not only
by pure luck on alignment blind little endian archs - it used the
"h" code path, storing a 16bit int via a byte pointer).
This makes sparc64 pass regress/lib/libc/int_fmtio.
|
|
length to a temporary u_int32_t variable and memmove from there to the
final destination - instead of copying the first four 0 bytes from a
64bit variable directly on big endian 64 bit platforms.
This makes sparc64 pass regress/lib/libc/db.
|
|
- allow 0 byte input. PR/23889 (Valeriy E. Ushakov)
- remove redundant E2BIG check, which should be done by
each encoding modules anyway.
|
|
|
|
|
|
version -- after twelve years it is at least beta ;)
The BUGS section is extensive enough even without it.
|
|
license -- thanks.
Based on OpenBSD commit and hints by itojun.
|
|
XXX: Should (for example) 1024 be 1.0K or 1K when the HN_DECIMAL flag
is passed? Should there be a separate option that says "use the
HN_DECIMAL behaviour unless we are exactly equal to the suffix"?
|
|
From Steve Woodford, inspired by a similar change to other archs from
OpenBSD.
|
|
From OpenBSD, changed by Miod Vallat.
|
|
|
|
|
|
|