Searched refs:_job_tid (Results 1 – 1 of 1) sorted by relevance
185 static pthread_t _job_tid; variable1247 _job_tid = pthread_self(); in _start_thread()1257 result = pthread_create(&_job_tid, 0, _job_thread, NULL); in _start_thread()1258 if ((result == ERROR) && (_job_tid != pthread_self())) { in _start_thread()1260 pthread_cancel(_job_tid); in _start_thread()1262 pthread_kill(_job_tid, SIGKILL); in _start_thread()1264 _job_tid = pthread_self(); in _start_thread()1284 if (!pthread_equal(_job_tid, pthread_self())) { in _stop_thread()1285 pthread_join(_job_tid, 0); in _stop_thread()1286 _job_tid = pthread_self(); in _stop_thread()