diff src/thread/pthread/SDL_systhread.c @ 5105:797b37c0c046

Nobody is maintaining RISC OS code, so I'm removing it for now.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 27 Jan 2011 00:06:36 -0800
parents f7b03b6838cb
children b530ef003506
line wrap: on
line diff
--- a/src/thread/pthread/SDL_systhread.c	Wed Jan 26 19:20:16 2011 -0800
+++ b/src/thread/pthread/SDL_systhread.c	Thu Jan 27 00:06:36 2011 -0800
@@ -34,14 +34,6 @@
     SIGVTALRM, SIGPROF, 0
 };
 
-#ifdef __RISCOS__
-/* RISC OS needs to know the main thread for
- * it's timer and event processing. */
-int riscos_using_threads = 0;
-SDL_threadID riscos_main_thread = 0;  /* Thread running events */
-#endif
-
-
 static void *
 RunThread(void *data)
 {
@@ -67,12 +59,6 @@
         SDL_SetError("Not enough resources to create thread");
         return (-1);
     }
-#ifdef __RISCOS__
-    if (riscos_using_threads == 0) {
-        riscos_using_threads = 1;
-        riscos_main_thread = SDL_ThreadID();
-    }
-#endif
 
     return (0);
 }