mirror of https://github.com/BOINC/boinc.git
parent
ed40388c62
commit
7bb3bf872c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue