25 #ifndef STTCLBOOSTTHREAD_H_
26 #define STTCLBOOSTTHREAD_H_
28 #if defined(STTCL_BOOST_THREADS) or defined(STTCL_BOOST_IMPL)
29 #include <boost/thread.hpp>
39 class SttclBoostThread
42 typedef boost::thread ThreadNativeType;
44 typedef void* (*ThreadMethodPtr)(
void*);
46 SttclBoostThread(ThreadMethodPtr argThreadMethod);
47 virtual ~SttclBoostThread();
52 static bool isSelf(
const SttclBoostThread& otherThread);
55 ThreadMethodPtr threadMethod;
56 ThreadNativeType thread;