Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The FUTEX_WAIT and FUTEX_WAKE operations are supposed to be applied to futexes that can be shared between processes. Using process-local equivalents can be more efficient. Also add linux/futex.h include, which should nowdays be provided by all relevant Linux distributions. Since linux_common.h is also included on various BSD systems, include sys/futex.h where available and disable futex API where not.
- Loading branch information
Showing
2 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters