X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Tools%2Fnativelib%2Finclude%2Fpthread_weak.h;h=ccc4002d84bae2a6a6408ca99f4f6bb194327261;hb=eb42cce3c834d711e888d7866db98c563710993d;hp=30ac250348c07943e9eff2648a4dadc6e49a8766;hpb=0ab008276f88801b5a5a2ed8e96c285e524ead2c;p=tpg%2Facess2.git diff --git a/Tools/nativelib/include/pthread_weak.h b/Tools/nativelib/include/pthread_weak.h index 30ac2503..ccc4002d 100644 --- a/Tools/nativelib/include/pthread_weak.h +++ b/Tools/nativelib/include/pthread_weak.h @@ -18,6 +18,7 @@ extern int pthread_mutex_destroy (pthread_mutex_t*) __attribute__ ((weak)); extern int sem_init(sem_t *sem, int pshared, unsigned int value) __attribute__ ((weak)); extern int sem_wait(sem_t *sem) __attribute__ ((weak)); +extern int sem_trywait(sem_t *sem) __attribute__ ((weak)); extern int sem_post(sem_t *sem) __attribute__ ((weak)); extern int sem_getvalue(sem_t *sem, int *sval) __attribute__ ((weak));