summaryrefslogtreecommitdiffstats
path: root/libdimension/threads.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-09-29 17:54:03 -0400
committerTavian Barnes <tavianator@gmail.com>2010-09-29 19:03:10 -0400
commit9666ad922524b617947590aed4c6fde5febab53a (patch)
treeb51c459670fac0f1d36b70e055f31ce1d641c4ef /libdimension/threads.h
parentcec47afae217cea36779d7dea4437b35dee63be2 (diff)
downloaddimension-9666ad922524b617947590aed4c6fde5febab53a.tar.xz
Make dmnsn_new_thread() bail out on errors.
Diffstat (limited to 'libdimension/threads.h')
-rw-r--r--libdimension/threads.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/threads.h b/libdimension/threads.h
index 5884fae..00be0a9 100644
--- a/libdimension/threads.h
+++ b/libdimension/threads.h
@@ -26,7 +26,7 @@
typedef int dmnsn_thread_fn(void *ptr);
/* Creates a thread that cleans up after itself on errors */
-int dmnsn_new_thread(dmnsn_progress *progress, const pthread_attr_t *attr,
- dmnsn_thread_fn *thread_fn, void *arg);
+void dmnsn_new_thread(dmnsn_progress *progress, const pthread_attr_t *attr,
+ dmnsn_thread_fn *thread_fn, void *arg);
#endif /* DIMENSION_IMPL_THREADS_H */