From 9efd02061f36b6d37558e846d075aa77af3b01cb Mon Sep 17 00:00:00 2001 From: dborth Date: Thu, 18 Dec 2008 18:52:31 +0000 Subject: [PATCH] change device thread --- source/ngc/fileop.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/source/ngc/fileop.cpp b/source/ngc/fileop.cpp index 244ac73..1190481 100644 --- a/source/ngc/fileop.cpp +++ b/source/ngc/fileop.cpp @@ -50,10 +50,7 @@ bool isMounted[9] = { false, false, false, false, false, false, false, false, fa /**************************************************************************** * deviceThreading ***************************************************************************/ -#define TSTACK 16384 -lwpq_t devicequeue; lwp_t devicethread; -static unsigned char devicestack[TSTACK]; /**************************************************************************** * devicecallback @@ -119,11 +116,7 @@ devicecallback (void *arg) void InitDeviceThread() { - /*** Initialise a new queue ***/ - LWP_InitQueue (&devicequeue); - - /*** Create the thread on this queue ***/ - LWP_CreateThread (&devicethread, devicecallback, NULL, devicestack, TSTACK, 80); + LWP_CreateThread (&devicethread, devicecallback, NULL, NULL, 0, 80); } /****************************************************************************