aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/linux.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-03-14 07:38:02 +1000
committerinmarket <andrewh@inmarket.com.au>2014-03-14 07:38:02 +1000
commit6f54bde79c553301a35535a0a71a4a09b181abfa (patch)
tree1408ad80459cd09da47960b4905d50195916639d /src/gos/linux.h
parent6d372f13528f44919ec193d03248d55a53484968 (diff)
parentea5a1b849df6e5085a92957ad387f9e653674415 (diff)
downloaduGFX-6f54bde79c553301a35535a0a71a4a09b181abfa.tar.gz
uGFX-6f54bde79c553301a35535a0a71a4a09b181abfa.tar.bz2
uGFX-6f54bde79c553301a35535a0a71a4a09b181abfa.zip
Merge branch 'master' into freertos
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)