Searched refs:_job_tid (Results 1 – 1 of 1) sorted by relevance
190 static pthread_t _job_tid; variable1398 _job_tid = pthread_self(); in _start_thread()1409 result = pthread_create(&_job_tid, 0, _job_thread, NULL); in _start_thread()1410 if ((result == ERROR) && (_job_tid != pthread_self())) { in _start_thread()1412 pthread_cancel(_job_tid); in _start_thread()1414 pthread_kill(_job_tid, SIGKILL); in _start_thread()1416 _job_tid = pthread_self(); in _start_thread()1437 if (!pthread_equal(_job_tid, pthread_self())) { in _stop_thread()1438 pthread_join(_job_tid, 0); in _stop_thread()1439 _job_tid = pthread_self(); in _stop_thread()