25 #ifndef STTCLPOSIXTHREAD_H_
26 #define STTCLPOSIXTHREAD_H_
28 #if defined(STTCL_POSIX_THREADS) or defined(STTCL_POSIX_IMPL)
41 class SttclPosixThread
44 typedef void* (*ThreadMethodPtr)(
void*);
46 SttclPosixThread(ThreadMethodPtr argThreadMethod);
47 virtual ~SttclPosixThread();
52 static bool isSelf(
const SttclPosixThread& otherThread);
54 ThreadMethodPtr threadMethod;
55 pthread_t pthreadHandle;