From c40021af0114218a7754e8c5850b24c077bf1c1d Mon Sep 17 00:00:00 2001 From: inmarket Date: Mon, 22 Jul 2013 17:06:55 +1000 Subject: [PATCH] gfxSystemLock() and gfxSystemUnlock() are required for correct operation of some modules even under POSIX. --- src/gos/posix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gos/posix.c b/src/gos/posix.c index 9d227fb4..49fcdea4 100644 --- a/src/gos/posix.c +++ b/src/gos/posix.c @@ -25,11 +25,11 @@ void _gosInit(void) { } void gfxSystemLock(void) { - //gfxMutexEnter(&SystemMutex); + gfxMutexEnter(&SystemMutex); } void gfxSystemUnlock(void) { - //gfxMutexLeave(&SystemMutex); + gfxMutexLeave(&SystemMutex); } void gfxHalt(const char *msg) {