diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-04-28 13:50:56 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-04-28 13:50:56 +0000 |
commit | e8355c7596eba1f524f096ea8857a4fc65321cfa (patch) | |
tree | e67d6e87c5f1ea43102f6628c554222913d06ed6 /bin/pax/pax.1 | |
parent | 38e6404586671a5cee5b13b7c54b8be33e33daed (diff) |
Add futex(2) syscall based on a sane subset of its Linux equivalent.
The syscall is marked NOLOCK and only FUTEX_WAIT grabs the KERNEL_LOCK()
because of PCATCH and the signal nightmare.
Serialization of threads is currently done with a global & exclusive
rwlock.
Note that the current implementation still use copyin(9) which is not
guaranteed to be atomic. Committing now such that remaining issues can
be addressed in-tree.
With inputs from guenther@, kettenis@ and visa@.
ok deraadt@, visa@
Diffstat (limited to 'bin/pax/pax.1')
0 files changed, 0 insertions, 0 deletions