aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_x_threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gos/gos_x_threads.h')
-rw-r--r--src/gos/gos_x_threads.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gos/gos_x_threads.h b/src/gos/gos_x_threads.h
index 7b7509c4..e530120d 100644
--- a/src/gos/gos_x_threads.h
+++ b/src/gos/gos_x_threads.h
@@ -47,7 +47,7 @@ typedef struct {
} gfxSem;
typedef uint32_t gfxMutex;
-typedef void * gfxThreadHandle;
+typedef void * gThread;
// Required timing functions - supplied by the user or the operating system
gTicks gfxSystemTicks(void);
@@ -77,10 +77,10 @@ void gfxSemSignal(gfxSem *psem);
void gfxSemSignalI(gfxSem *psem);
// Threads
-gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, gThreadpriority prio, DECLARE_THREAD_FUNCTION((*fn),p), void *param);
+gThread gfxThreadCreate(void *stackarea, size_t stacksz, gThreadpriority prio, DECLARE_THREAD_FUNCTION((*fn),p), void *param);
#define gfxThreadClose(thread)
-gThreadreturn gfxThreadWait(gfxThreadHandle thread);
-gfxThreadHandle gfxThreadMe(void);
+gThreadreturn gfxThreadWait(gThread thread);
+gThread gfxThreadMe(void);
/** The following is not part of the public ugfx API as some operating systems
* simply do not provide this capability.