26 #if defined( CINDER_COCOA )
29 #if defined( CINDER_MAC )
30 #include <objc/objc-auto.h>
33 #if defined( CINDER_WINRT )
36 #include <condition_variable>
39 #elif (defined( _MSC_VER ) && ( _MSC_VER >= 1700 )) || defined( _LIBCPP_VERSION )
42 #include <condition_variable>
45 #include <boost/thread/mutex.hpp>
46 #include <boost/thread/recursive_mutex.hpp>
47 #include <boost/thread/thread.hpp>
48 #include <boost/thread/condition_variable.hpp>
49 #define BOOST_THREAD_PROVIDES_FUTURE
50 #include <boost/thread/future.hpp>
55 using boost::recursive_mutex;
57 using boost::lock_guard;
58 using boost::unique_lock;
59 using boost::condition_variable;
60 namespace this_thread {
61 using boost::this_thread::yield;
62 using boost::this_thread::get_id;
65 using boost::packaged_task;
75 #if defined( CINDER_MAC )
76 objc_registerThreadWithCollector();
84 #if defined( CINDER_COCOA )
Represents an exception-safe NSAutoreleasePool. Replaces the global NSAutoreleasePool for its lifetim...
Definition: CinderCocoa.h:91
Create an instance of this class at the beginning of any multithreaded code that makes use of Cinder ...
Definition: Thread.h:72
~ThreadSetup()
Definition: Thread.h:80
ThreadSetup()
Definition: Thread.h:74