From a29501c7bda2212417e1df4b255690bd7fb61ad2 Mon Sep 17 00:00:00 2001 From: inmarket Date: Tue, 11 Mar 2014 17:10:11 +1000 Subject: Add support for gfxSemWaitI() GOS api. --- src/gos/linux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gos/linux.h') diff --git a/src/gos/linux.h b/src/gos/linux.h index f8b049e9..f92fc4e9 100644 --- a/src/gos/linux.h +++ b/src/gos/linux.h @@ -46,6 +46,7 @@ typedef pthread_mutex_t gfxMutex; #define gfxMutexDestroy(pmtx) pthread_mutex_destroy(pmtx) #define gfxMutexEnter(pmtx) pthread_mutex_lock(pmtx) #define gfxMutexExit(pmtx) pthread_mutex_unlock(pmtx) +#define gfxSemWaitI(psem) gfxSemWait(psem, TIME_IMMEDIATE) #define gfxSemSignalI(psem) gfxSemSignal(psem) #define gfxSemCounterI(pSem) ((pSem)->cnt) -- cgit v1.2.3