aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/linux.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-03-14 07:39:38 +1000
committerinmarket <andrewh@inmarket.com.au>2014-03-14 07:39:38 +1000
commitad1d70d2957d95161c831e764c6f81c84c332458 (patch)
tree639cc66297de6fe98e26608003871fe83406879a /src/gos/linux.h
parentb82448c3e23663a25a423402343fbca78253b80c (diff)
parentea5a1b849df6e5085a92957ad387f9e653674415 (diff)
downloaduGFX-ad1d70d2957d95161c831e764c6f81c84c332458.tar.gz
uGFX-ad1d70d2957d95161c831e764c6f81c84c332458.tar.bz2
uGFX-ad1d70d2957d95161c831e764c6f81c84c332458.zip
Merge branch 'master' into gwin
Diffstat (limited to 'src/gos/linux.h')
-rw-r--r--src/gos/linux.h1
1 files changed, 1 insertions, 0 deletions
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)