Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /* WARNING:  This file was automatically generated!
  2.  * Original: ./src/thread/generic/SDL_systhread.c
  3.  */
  4. /*
  5.     SDL - Simple DirectMedia Layer
  6.     Copyright (C) 1997, 1998, 1999, 2000, 2001  Sam Lantinga
  7.  
  8.     This library is free software; you can redistribute it and/or
  9.     modify it under the terms of the GNU Library General Public
  10.     License as published by the Free Software Foundation; either
  11.     version 2 of the License, or (at your option) any later version.
  12.  
  13.     This library is distributed in the hope that it will be useful,
  14.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.     Library General Public License for more details.
  17.  
  18.     You should have received a copy of the GNU Library General Public
  19.     License along with this library; if not, write to the Free
  20.     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  21.  
  22.     Sam Lantinga
  23.     slouken@devolution.com
  24. */
  25.  
  26.  
  27. /* Thread management routines for SDL */
  28.  
  29. #include "SDL_error.h"
  30. #include "SDL_thread.h"
  31. #include "SDL_systhread.h"
  32.  
  33. int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
  34. {
  35.         SDL_SetError("Threads are not supported on this platform");
  36.         return(-1);
  37. }
  38.  
  39. void SDL_SYS_SetupThread(void)
  40. {
  41.         return;
  42. }
  43.  
  44. Uint32 SDL_ThreadID(void)
  45. {
  46.         return(0);
  47. }
  48.  
  49. void SDL_SYS_WaitThread(SDL_Thread *thread)
  50. {
  51.         return;
  52. }
  53.  
  54. void SDL_SYS_KillThread(SDL_Thread *thread)
  55. {
  56.         return;
  57. }
  58.  
  59.