From 548a919ea379a3b9d1d9e41cf4dad6b4779fd3e6 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 10 Feb 2008 21:54:52 +0000 Subject: merged 0.3.4 changes to trunk --- src/engine/e_system.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/engine/e_system.h') diff --git a/src/engine/e_system.h b/src/engine/e_system.h index f271d71a..bfd8cd8c 100644 --- a/src/engine/e_system.h +++ b/src/engine/e_system.h @@ -268,13 +268,6 @@ int io_close(IOHANDLE io); /**** Group: Threads ****/ -int thread_create(); /* NOT IMPLEMENTED */ -int thread_destory(); /* NOT IMPLEMENTED */ - -int thread_run(); /* NOT IMPLEMENTED */ -int thread_pause(); /* NOT IMPLEMENTED */ -int thread_wait(); /* NOT IMPLEMENTED */ - /***** Function: thread_sleep @@ -517,6 +510,12 @@ int net_socket_read_wait(NETSOCKET sock, int time); void mem_debug_dump(); int mem_allocated(); +void *thread_create(void (*threadfunc)(void *), void *user); +void thread_wait(void *thread); +void thread_destroy(void *thread); +void thread_yield(); +unsigned time_timestamp(); + void swap_endian(void *data, unsigned elem_size, unsigned num); /* #define cache_prefetch(addr) __builtin_prefetch(addr) */ -- cgit 1.4.1