zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_systhread.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "SDL_error.h"
#include "SDL_thread.h"
#include "../SDL_systhread.h"
#include "../SDL_thread_c.h"
#include <pspkerneltypes.h>
#include <pspthreadman.h>

Go to the source code of this file.

Functions

int SDL_SYS_CreateThread (SDL_Thread *thread, void *args)
 
void SDL_SYS_KillThread (SDL_Thread *thread)
 
int SDL_SYS_SetThreadPriority (SDL_ThreadPriority priority)
 
void SDL_SYS_SetupThread (const char *name)
 
void SDL_SYS_WaitThread (SDL_Thread *thread)
 
SDL_threadID SDL_ThreadID (void)
 
static int ThreadEntry (SceSize args, void *argp)
 

Function Documentation

int SDL_SYS_CreateThread ( SDL_Thread thread,
void args 
)

Definition at line 42 of file SDL_systhread.c.

Referenced by SDL_CreateThread().

void SDL_SYS_KillThread ( SDL_Thread thread)

Definition at line 80 of file SDL_systhread.c.

References SDL_Thread::handle.

int SDL_SYS_SetThreadPriority ( SDL_ThreadPriority  priority)

Definition at line 85 of file SDL_systhread.c.

References SDL_THREAD_PRIORITY_HIGH, and SDL_THREAD_PRIORITY_LOW.

void SDL_SYS_SetupThread ( const char *  name)

Definition at line 64 of file SDL_systhread.c.

void SDL_SYS_WaitThread ( SDL_Thread thread)

Definition at line 74 of file SDL_systhread.c.

References SDL_Thread::handle, and NULL.

SDL_threadID SDL_ThreadID ( void  )

Get the thread identifier for the current thread.

Definition at line 69 of file SDL_systhread.c.

static int ThreadEntry ( SceSize  args,
void argp 
)
static

Definition at line 36 of file SDL_systhread.c.

References SDL_RunThread().

Referenced by SDL_SYS_CreateThread().