Skip to content

Commit

Permalink
Fix __INTRODUCED_IN for pthread_cond_timedwait_monotonic_np.
Browse files Browse the repository at this point in the history
Bug: android/ndk#708
Test: N/A
Change-Id: Ic72bbae7ab98182731a706348a8ddb6e8e28f59e
  • Loading branch information
enh-google committed May 29, 2018
1 parent ebf58a6 commit 3ac1461
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libc/include/pthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ int pthread_cond_timedwait(pthread_cond_t* __cond, pthread_mutex_t* __mutex, con
* Android provides this API to use CLOCK_MONOTONIC on a condition variable for this single wait
* no matter how it was initialized.
*/
int pthread_cond_timedwait_monotonic_np(pthread_cond_t* __cond, pthread_mutex_t* __mutex,
const struct timespec* __timeout) __INTRODUCED_IN_64(28);
int pthread_cond_timedwait_monotonic_np(pthread_cond_t* __cond, pthread_mutex_t* __mutex, const struct timespec* __timeout) __INTRODUCED_IN_32(16) __INTRODUCED_IN_64(28);
int pthread_cond_wait(pthread_cond_t* __cond, pthread_mutex_t* __mutex);

int pthread_create(pthread_t* __pthread_ptr, pthread_attr_t const* __attr, void* (*__start_routine)(void*), void*);
Expand Down

0 comments on commit 3ac1461

Please sign in to comment.