diff options
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); } } |