diff options
author | Philipp Stephani <phst@google.com> | 2016-10-30 22:06:50 +0100 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2016-10-30 22:06:50 +0100 |
commit | a5a67c21d3be71c8545828b184dfef2c814fa141 (patch) | |
tree | 76071a55c878c54db36d471eeb3d6e376928cf4a | |
parent | fec6faa72a9fcc44286057b1abe8153448a98493 (diff) | |
download | emacs-concurrency-libtask.tar.gz |
Add missing taskexit()concurrency-libtask
-rw-r--r-- | lib/libtask/task.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libtask/task.c b/lib/libtask/task.c index fce2a14ed34..ab7fcc120b0 100644 --- a/lib/libtask/task.c +++ b/lib/libtask/task.c @@ -99,6 +99,7 @@ thread_func (void *arg) } if (pthread_mutex_unlock (&uc->mutex) != 0) abort (); t->startfn (t->startarg); + taskexit (0); return NULL; } #endif |