src/events/SDL_events.c
changeset 5111 481dabb098ef
parent 5086 c2539ff054c8
child 5123 dc0dfdd58f27
     1.1 --- a/src/events/SDL_events.c	Thu Jan 27 10:40:17 2011 -0800
     1.2 +++ b/src/events/SDL_events.c	Thu Jan 27 14:45:06 2011 -0800
     1.3 @@ -123,9 +123,6 @@
     1.4  
     1.5          /* Give up the CPU for the rest of our timeslice */
     1.6          SDL_EventLock.safe = 1;
     1.7 -        if (SDL_timer_running) {
     1.8 -            SDL_ThreadedTimerCheck();
     1.9 -        }
    1.10          SDL_Delay(1);
    1.11  
    1.12          /* Check for event locking.
    1.13 @@ -140,7 +137,6 @@
    1.14          SDL_EventLock.safe = 0;
    1.15          SDL_mutexV(SDL_EventLock.lock);
    1.16      }
    1.17 -    SDL_SetTimerThreaded(0);
    1.18      event_thread = 0;
    1.19      return (0);
    1.20  }
    1.21 @@ -168,8 +164,6 @@
    1.22          }
    1.23          SDL_EventLock.safe = 0;
    1.24  
    1.25 -        /* The event thread will handle timers too */
    1.26 -        SDL_SetTimerThreaded(2);
    1.27  #if (defined(__WIN32__) && !defined(_WIN32_WCE)) && !defined(HAVE_LIBC)
    1.28  #undef SDL_CreateThread
    1.29          SDL_EventThread =