fHandlerThread
thread_id fHandlerThread;
if (fHandlerThread >= 0 && find_thread(NULL) != fHandlerThread) {
wait_for_thread(fHandlerThread, &result);
fHandlerThread = spawn_thread(&_HandlerThreadEntry, name, B_NORMAL_PRIORITY,
if (fHandlerThread < 0) {
"handler thread: %s\n", strerror(fHandlerThread));
return fHandlerThread;
resume_thread(fHandlerThread);