Minor changes

svn path=/trunk/boinc/; revision=415
This commit is contained in:
Eric Heien 2002-09-11 22:01:28 +00:00
parent ed40388c62
commit 7bb3bf872c
1 changed files with 1 additions and 17 deletions

View File

@ -19,7 +19,7 @@
// API_IGNORE_CLIENT will make the app ignore the core client
// this is useful for debugging just the application
#define API_IGNORE_CLIENT
//#define API_IGNORE_CLIENT
#include <stdlib.h>
#include <stdio.h>
@ -121,22 +121,6 @@ int boinc_init() {
this_process_active = true;
set_timer(timer_period);
#ifdef BOINC_APP_GRAPHICS
#ifdef _WIN32
DWORD threadId;
HANDLE hThread;
// Create the graphics thread, passing it the graphics info
hThread = CreateThread( NULL, 0, graphics_main, 0, CREATE_SUSPENDED, &threadId );
// Set it to idle priority
SetThreadPriority (hThread, THREAD_PRIORITY_IDLE);
// Start the graphics thread
ResumeThread( hThread );
#endif
#endif
return 0;
}