about summary refs log tree commit diff
path: root/src/engine/e_system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/e_system.h')
-rw-r--r--src/engine/e_system.h13
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) */