aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_win32.c
diff options
context:
space:
mode:
authorinmarket <inmarket@ugfx.org>2017-03-04 15:02:55 +1000
committerinmarket <inmarket@ugfx.org>2017-03-04 15:02:55 +1000
commit5d8705b6e0338b0fd631f27e80b94efea96201d0 (patch)
treeeb5dbf709d06aad8834902cb5462462fb04c6e1b /src/gos/gos_win32.c
parent5497e2ed1fe86d0f8e89ca67c7bf40f08e927c3b (diff)
downloaduGFX-5d8705b6e0338b0fd631f27e80b94efea96201d0.tar.gz
uGFX-5d8705b6e0338b0fd631f27e80b94efea96201d0.tar.bz2
uGFX-5d8705b6e0338b0fd631f27e80b94efea96201d0.zip
FEATURE: Significantly improved the FreeRTOS port
FEATURE: Added support for operating system initialisation in FreeRTOS FEATURE: Added GFX_OS_CALL_UGFXMAIN configuration option to allow uGFXMain() to be automatically called FEATURE: Added GFX_OS_UGFXMAIN_STACKSIZE configuration option to control uGFXMain() stack size
Diffstat (limited to 'src/gos/gos_win32.c')
-rw-r--r--src/gos/gos_win32.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gos/gos_win32.c b/src/gos/gos_win32.c
index e9abedd7..5eecca88 100644
--- a/src/gos/gos_win32.c
+++ b/src/gos/gos_win32.c
@@ -21,6 +21,10 @@ void _gosInit(void)
/* No initialization of the operating system itself is needed */
}
+void _gosPostInit(void)
+{
+}
+
void _gosDeinit(void)
{
@@ -102,7 +106,7 @@ gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, threadpriority_
HANDLE thd;
if (!(thd = CreateThread(0, stacksz, fn, param, CREATE_SUSPENDED, 0)))
- return FALSE;
+ return 0;
SetThreadPriority(thd, prio);
ResumeThread(thd);