From 7bb3bf872c46e4eef5ca51bb35eadf7acd3276a7 Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Wed, 11 Sep 2002 22:01:28 +0000 Subject: [PATCH] Minor changes svn path=/trunk/boinc/; revision=415 --- api/boinc_api.C | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/api/boinc_api.C b/api/boinc_api.C index 92c1d770fa..d8f3127120 100644 --- a/api/boinc_api.C +++ b/api/boinc_api.C @@ -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 #include @@ -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; }