about summary refs log tree commit diff
path: root/src/engine/e_system.c
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-29 11:44:03 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-29 11:44:03 +0000
commit7a3874745ca370a799d95b5f86e85fcc8eadefbb (patch)
tree16f1e28f2f499279496866a63cabf88e2f2ad6c4 /src/engine/e_system.c
parent171d6b1c206c0488b59d157bc266319bf4ab482b (diff)
downloadzcatch-7a3874745ca370a799d95b5f86e85fcc8eadefbb.tar.gz
zcatch-7a3874745ca370a799d95b5f86e85fcc8eadefbb.zip
fixed loads of graphical optimizations
Diffstat (limited to 'src/engine/e_system.c')
-rw-r--r--src/engine/e_system.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/e_system.c b/src/engine/e_system.c
index ef1ddda2..5075c062 100644
--- a/src/engine/e_system.c
+++ b/src/engine/e_system.c
@@ -330,6 +330,12 @@ void thread_wait(void *thread)
 
 void thread_destroy(void *thread)
 {
+#if defined(CONF_FAMILY_UNIX)
+	void *r = 0;
+	pthread_join((pthread_t)thread, &r);
+#else
+	/*#error not implemented*/
+#endif
 }
 
 void thread_yield()