10 pthread_create(&worker_thread, NULL, &Thread::do_work_thunk, this);
16 pthread_kill(worker_thread, SIGHUP);
17 if (pthread_join(worker_thread, NULL) == -1) {
18 perror("pthread_join");
23 void *Thread::do_work_thunk(void *arg)
25 Thread *thread = reinterpret_cast<Thread *>(arg);