Changeset 1335 for trunk/dll/timer.c
- Timestamp:
- Dec 13, 2008, 12:49:02 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/timer.c
r1227 r1335 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2006 Steven H. Levine9 Copyright (c) 2006, 2008 Steven H. Levine 10 10 11 11 22 Jul 06 SHL Check more run time errors 12 12 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 13 10 Dec 08 SHL Integrate exception handler support 13 14 14 15 ***********************************************************************/ 15 16 16 #include <process.h> // _beginthread17 // #include <process.h> // _beginthread 17 18 18 19 #define INCL_DOS … … 30 31 #include "timer.h" 31 32 #include "misc.h" // PostMsg 33 #include "excputil.h" // xbeginthread 32 34 33 35 static PSZ pszSrcFile = __FILE__; … … 71 73 BOOL StartTimer(void) 72 74 { 73 INT rc = _beginthread(TimerThread, NULL, 32768, (PVOID) 0);74 75 if (rc == -1) 76 Runtime_Error(pszSrcFile, __LINE__,77 GetPString(IDS_COULDNTSTARTTHREADTEXT));75 INT rc = xbeginthread(TimerThread, 76 32768, 77 (PVOID)0, 78 pszSrcFile, 79 __LINE__); 78 80 79 81 return rc != -1;
Note:
See TracChangeset
for help on using the changeset viewer.