diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-05-09 21:41:43 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-05-09 21:49:41 -0600 |
commit | c280e280ba7528cc5fb88ae0be341d81f3b45e0a (patch) | |
tree | d8d5264536374ad464ba89d1a04ffc604edc643e /libdimension/dimension_impl.h | |
parent | 477eb270b9c338f7d9743595f8980fa81cdb083d (diff) | |
download | dimension-c280e280ba7528cc5fb88ae0be341d81f3b45e0a.tar.xz |
New dmnsn_new_thread() function.
Two advantages: first, waiters are guaranteed to wake if a dmnsn_error()
cancels a thread. Second, the thread library is fully abstracted over by
threads.{c,h} and progress.{c,h} now, though raytrace.c is still using
pthread_create() directly.
Diffstat (limited to 'libdimension/dimension_impl.h')
-rw-r--r-- | libdimension/dimension_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdimension/dimension_impl.h b/libdimension/dimension_impl.h index 3c3283c..912a127 100644 --- a/libdimension/dimension_impl.h +++ b/libdimension/dimension_impl.h @@ -22,6 +22,7 @@ #define DIMENSION_IMPL_H #include "dimension.h" +#include "threads.h" #include "prtree.h" #endif /* DIMENSION_IMPL_H */ |