37 namespace rp{
namespace hal{
44 assert(
sizeof(newborn._handle) >=
sizeof(pthread_t));
46 pthread_create((pthread_t *)&newborn._handle, NULL,(
void * (*)(
void *))proc,
data);
75 pthread_join((pthread_t)(this->
_handle), NULL);
u_result join(unsigned long timeout=-1)
static Thread create(thread_proc_t proc, void *data=NULL)
u_result setPriority(priority_val_t p)
priority_val_t getPriority()
#define RESULT_OPERATION_FAIL
GLsizei GLsizei GLenum GLenum const GLvoid * data