diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-02-10 21:54:52 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-02-10 21:54:52 +0000 |
| commit | 548a919ea379a3b9d1d9e41cf4dad6b4779fd3e6 (patch) | |
| tree | 85666198fed3d4803f3ec3373c134d12bde9329b /src/engine/e_system.h | |
| parent | 2f969d9d6fece689e05857580ffb1843439e5fbb (diff) | |
| download | zcatch-548a919ea379a3b9d1d9e41cf4dad6b4779fd3e6.tar.gz zcatch-548a919ea379a3b9d1d9e41cf4dad6b4779fd3e6.zip | |
merged 0.3.4 changes to trunk
Diffstat (limited to 'src/engine/e_system.h')
| -rw-r--r-- | src/engine/e_system.h | 13 |
1 files changed, 6 insertions, 7 deletions
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) */ |