src/thread/nds/SDL_systhread.c
author Sam Lantinga <slouken@libsdl.org>
Mon, 08 Dec 2008 00:27:32 +0000
changeset 2859 99210400e8b9
parent 2735 204be4fc2726
child 3578 0d1b16ee0bca
permissions -rw-r--r--
Updated copyright date
slouken@2735
     1
/*
slouken@2735
     2
    SDL - Simple DirectMedia Layer
slouken@2859
     3
    Copyright (C) 1997-2009 Sam Lantinga
slouken@2735
     4
slouken@2735
     5
    This library is free software; you can redistribute it and/or
slouken@2735
     6
    modify it under the terms of the GNU Library General Public
slouken@2735
     7
    License as published by the Free Software Foundation; either
slouken@2735
     8
    version 2 of the License, or (at your option) any later version.
slouken@2735
     9
slouken@2735
    10
    This library is distributed in the hope that it will be useful,
slouken@2735
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@2735
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@2735
    13
    Library General Public License for more details.
slouken@2735
    14
slouken@2735
    15
    You should have received a copy of the GNU Library General Public
slouken@2735
    16
    License along with this library; if not, write to the Free
slouken@2735
    17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
slouken@2735
    18
slouken@2735
    19
    Sam Lantinga
slouken@2735
    20
    slouken@devolution.com
slouken@2735
    21
*/
slouken@2735
    22
slouken@2735
    23
#ifdef SAVE_RCSID
slouken@2735
    24
static char rcsid =
slouken@2735
    25
    "@(#) $Id: SDL_systhread.c,v 1.2 2001/04/26 16:50:18 hercules Exp $";
slouken@2735
    26
#endif
slouken@2735
    27
slouken@2735
    28
/* Thread management routines for SDL */
slouken@2735
    29
slouken@2735
    30
#include "SDL_error.h"
slouken@2735
    31
#include "SDL_thread.h"
slouken@2735
    32
#include "SDL_systhread.h"
slouken@2735
    33
slouken@2735
    34
int
slouken@2735
    35
SDL_SYS_CreateThread(SDL_Thread * thread, void *args)
slouken@2735
    36
{
slouken@2735
    37
    SDL_SetError("Threads are not supported on this platform");
slouken@2735
    38
    return (-1);
slouken@2735
    39
}
slouken@2735
    40
slouken@2735
    41
void
slouken@2735
    42
SDL_SYS_SetupThread(void)
slouken@2735
    43
{
slouken@2735
    44
    return;
slouken@2735
    45
}
slouken@2735
    46
slouken@2735
    47
Uint32
slouken@2735
    48
SDL_ThreadID(void)
slouken@2735
    49
{
slouken@2735
    50
    return (0);
slouken@2735
    51
}
slouken@2735
    52
slouken@2735
    53
void
slouken@2735
    54
SDL_SYS_WaitThread(SDL_Thread * thread)
slouken@2735
    55
{
slouken@2735
    56
    return;
slouken@2735
    57
}
slouken@2735
    58
slouken@2735
    59
void
slouken@2735
    60
SDL_SYS_KillThread(SDL_Thread * thread)
slouken@2735
    61
{
slouken@2735
    62
    return;
slouken@2735
    63
}