--- a/drivers/timers_win32/timers_win32.cpp Tue Feb 19 14:59:19 2008 +0100
+++ b/drivers/timers_win32/timers_win32.cpp Tue Feb 19 15:21:42 2008 +0100
@@ -81,10 +81,10 @@
*Thread = ::CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)ReceiveLoopPtr, fd0, 0, &thread_id);
}
-void WaitReceiveTaskEnd(TASK_HANDLE Thread)
- {
- ::WaitForSingleObject(Thread, INFINITE);
- ::CloseHandle(Thread);
+void WaitReceiveTaskEnd(TASK_HANDLE *Thread)
+ {
+ ::WaitForSingleObject(*Thread, INFINITE);
+ ::CloseHandle(*Thread);
//*Thread = NULL;
}
// --------------- CAN Receive Thread Implementation ---------------