src/thread/nds/SDL_systhread.c
author Sam Lantinga <slouken@libsdl.org>
Tue, 15 Feb 2011 16:41:04 -0800
changeset 5301 248c5c7d6e29
parent 5262 b530ef003506
child 5506 82a09d5d0f07
permissions -rw-r--r--
Patch to fix includes from Frank Zago
     1 /*
     2     SDL - Simple DirectMedia Layer
     3     Copyright (C) 1997-2011 Sam Lantinga
     4 
     5     This library is free software; you can redistribute it and/or
     6     modify it under the terms of the GNU Lesser General Public
     7     License as published by the Free Software Foundation; either
     8     version 2.1 of the License, or (at your option) any later version.
     9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Lesser General Public License for more details.
    14 
    15     You should have received a copy of the GNU Lesser General Public
    16     License along with this library; if not, write to the Free Software
    17     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    18 
    19     Sam Lantinga
    20     slouken@libsdl.org
    21 */
    22 
    23 #ifdef SAVE_RCSID
    24 static char rcsid =
    25     "@(#) $Id: SDL_systhread.c,v 1.2 2001/04/26 16:50:18 hercules Exp $";
    26 #endif
    27 
    28 /* Thread management routines for SDL */
    29 
    30 #include "SDL_error.h"
    31 #include "SDL_thread.h"
    32 #include "../SDL_systhread.h"
    33 
    34 int
    35 SDL_SYS_CreateThread(SDL_Thread * thread, void *args)
    36 {
    37     SDL_SetError("Threads are not supported on this platform");
    38     return (-1);
    39 }
    40 
    41 void
    42 SDL_SYS_SetupThread(void)
    43 {
    44     return;
    45 }
    46 
    47 SDL_threadID
    48 SDL_ThreadID(void)
    49 {
    50     return (0);
    51 }
    52 
    53 void
    54 SDL_SYS_WaitThread(SDL_Thread * thread)
    55 {
    56     return;
    57 }
    58 
    59 void
    60 SDL_SYS_KillThread(SDL_Thread * thread)
    61 {
    62     return;
    63 }