src/thread/pthread/SDL_systhread.c
changeset 5103 797b37c0c046
parent 3697 f7b03b6838cb
child 5262 b530ef003506
     1.1 --- a/src/thread/pthread/SDL_systhread.c	Wed Jan 26 19:20:16 2011 -0800
     1.2 +++ b/src/thread/pthread/SDL_systhread.c	Thu Jan 27 00:06:36 2011 -0800
     1.3 @@ -34,14 +34,6 @@
     1.4      SIGVTALRM, SIGPROF, 0
     1.5  };
     1.6  
     1.7 -#ifdef __RISCOS__
     1.8 -/* RISC OS needs to know the main thread for
     1.9 - * it's timer and event processing. */
    1.10 -int riscos_using_threads = 0;
    1.11 -SDL_threadID riscos_main_thread = 0;  /* Thread running events */
    1.12 -#endif
    1.13 -
    1.14 -
    1.15  static void *
    1.16  RunThread(void *data)
    1.17  {
    1.18 @@ -67,12 +59,6 @@
    1.19          SDL_SetError("Not enough resources to create thread");
    1.20          return (-1);
    1.21      }
    1.22 -#ifdef __RISCOS__
    1.23 -    if (riscos_using_threads == 0) {
    1.24 -        riscos_using_threads = 1;
    1.25 -        riscos_main_thread = SDL_ThreadID();
    1.26 -    }
    1.27 -#endif
    1.28  
    1.29      return (0);
    1.30  }