1 #include "ThreadPT.hxx"
4 using namespace YACS::BASES;
6 ThreadPT::ThreadPT(ThreadJob funcPtr, void *stack)
8 void **stackT=(void **) stack;
9 pthread_create(&_threadId,0,funcPtr,stackT);
12 bool ThreadPT::operator==(const ThreadPT& other)
14 return pthread_equal(_threadId, other._threadId) != 0;
20 pthread_join(_threadId, &ret);
23 void ThreadPT::sleep(unsigned long usec)