diff options
author | Tavian Barnes <tavianator@gmail.com> | 2012-08-21 23:08:30 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2012-08-21 23:09:51 -0400 |
commit | c150be9eb7e0d69def245d877bd66f6df87f58a1 (patch) | |
tree | 4aa5c7cbd4fe2826538a0785dfa2dde61dd4d9f7 /libdimension/threads.c | |
parent | b2c3b538298f650e4d1dfb522d52de31de9be645 (diff) | |
download | dimension-c150be9eb7e0d69def245d877bd66f6df87f58a1.tar.xz |
Get Dimension working on Android.android
Diffstat (limited to 'libdimension/threads.c')
-rw-r--r-- | libdimension/threads.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libdimension/threads.c b/libdimension/threads.c index 0aed16d..5dce26c 100644 --- a/libdimension/threads.c +++ b/libdimension/threads.c @@ -1,5 +1,5 @@ /************************************************************************* - * Copyright (C) 2010-2011 Tavian Barnes <tavianator@tavianator.com> * + * Copyright (C) 2010-2012 Tavian Barnes <tavianator@tavianator.com> * * * * This file is part of The Dimension Library. * * * @@ -102,12 +102,6 @@ dmnsn_ccthread_cleanup(void *ptr) for (unsigned int i = 0; i < payload->nthreads; ++i) { if (payload->payloads[i].started) { - pthread_cancel(payload->threads[i]); - } - } - - for (unsigned int i = 0; i < payload->nthreads; ++i) { - if (payload->payloads[i].started) { dmnsn_join_thread(payload->threads[i], NULL); } } |