comparison src/thread/pth/SDL_syscond.c @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents c71e05b4dc2e
children d910939febfa
comparison
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
5 */ 5 */
6 6
7 #include <pth.h> 7 #include <pth.h>
8 8
9 #include "SDL_thread.h" 9 #include "SDL_thread.h"
10 #include "SDL_syscond_c.h"
11 #include "SDL_sysmutex_c.h" 10 #include "SDL_sysmutex_c.h"
11
12 struct SDL_cond
13 {
14 pth_cond_t condpth_p;
15 };
12 16
13 /* Create a condition variable */ 17 /* Create a condition variable */
14 SDL_cond * SDL_CreateCond(void) 18 SDL_cond * SDL_CreateCond(void)
15 { 19 {
16 SDL_cond *cond; 20 SDL_cond *cond;