From c280e280ba7528cc5fb88ae0be341d81f3b45e0a Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 9 May 2010 21:41:43 -0600 Subject: 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. --- libdimension/dimension_impl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libdimension/dimension_impl.h') 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 */ -- cgit v1.2.3