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
slouken@2735
     1
/*
slouken@2735
     2
    SDL - Simple DirectMedia Layer
slouken@5262
     3
    Copyright (C) 1997-2011 Sam Lantinga
slouken@2735
     4
slouken@2735
     5
    This library is free software; you can redistribute it and/or
slouken@3697
     6
    modify it under the terms of the GNU Lesser General Public
slouken@2735
     7
    License as published by the Free Software Foundation; either
slouken@3697
     8
    version 2.1 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@3697
    13
    Lesser General Public License for more details.
slouken@2735
    14
slouken@3697
    15
    You should have received a copy of the GNU Lesser General Public
slouken@3697
    16
    License along with this library; if not, write to the Free Software
slouken@3697
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@2735
    18
slouken@2735
    19
    Sam Lantinga
slouken@3697
    20
    slouken@libsdl.org
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@5301
    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@3578
    47
SDL_threadID
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
}