-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not try to use pthread_cond_timedwait_relative_np on newer Android
API was deprecated, do not use (still available on Apple). Rename USE_CLOCK_IN_COND to USE_CLOCK_GETTIME_IN_COND to make more clear. Put check for pthread_cond_timedwait_relative_np in a single place defining a new USE_COND_TIMEDWAIT_RELATIVE if we can use it. Declare tv variable near gettimeofday to reduce conditional compilation. Signed-off-by: Frediano Ziglio <[email protected]>
- Loading branch information
Showing
2 changed files
with
21 additions
and
16 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