diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 15:32:26 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 15:32:26 +1000 |
commit | 1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e (patch) | |
tree | 3ffb1a5fd2d8e7f08b7b45938824ecbab1170288 /src/gos/gos_osx.h | |
parent | 93da5a0578e7f16ea846eb257f36a24e316ef8d4 (diff) | |
download | uGFX-1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e.tar.gz uGFX-1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e.tar.bz2 uGFX-1fc4180d41a77088bbb2c0ce020d5ff7ab88c16e.zip |
gThreadpriorityLow/Normal/High to replace LOW_/NORMAL_/HIGH_PRIORITY
Diffstat (limited to 'src/gos/gos_osx.h')
-rw-r--r-- | src/gos/gos_osx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gos/gos_osx.h b/src/gos/gos_osx.h index 3f693258..5dcc63f3 100644 --- a/src/gos/gos_osx.h +++ b/src/gos/gos_osx.h @@ -44,9 +44,9 @@ typedef pthread_mutex_t gfxMutex; #define gDelayNone 0 #define gDelayForever ((gDelay)-1) #define MAX_SEMAPHORE_COUNT ((gSemcount)-1) -#define LOW_PRIORITY 10 -#define NORMAL_PRIORITY 0 -#define HIGH_PRIORITY -10 +#define gThreadpriorityLow 10 +#define gThreadpriorityNormal 0 +#define gThreadpriorityHigh -10 typedef struct gfxSem { pthread_mutex_t mtx; |