Lines Matching refs:thread
47 task (thread or process). Depending on the OS and/or the configure settings
201 DBG( 2, "thread started, calling func() now...\n" );
209 * starts a new thread or process
229 DBG( 2, "_beginthread() created thread %d\n", pid );
254 DBG( 2, "thread started, calling func() now...\n" );
262 * starts a new thread or process
276 pid = spawn_thread( local_thread, "sane thread (yes they can be)", B_NORMAL_PRIORITY, (void*)&td );
286 DBG( 2, "spawn_thread() created thread %d\n", pid );
350 DBG( 2, "thread started, calling func() now...\n" );
416 pthread_t thread;
437 result = pthread_create( &thread, NULL, local_thread, &td );
442 sanei_thread_set_invalid(&thread);
445 DBG( 2, "pthread_create() created thread %ld\n",
446 sanei_thread_pid_to_long(thread) );
448 return (SANE_Pid)thread;
474 DBG(2, "sanei_thread_sendsig() %d to thread (id=%ld)\n", sig,
504 DBG(2, "* thread has been canceled!\n" );
514 /* call detach in any case to make sure that the thread resources
515 * will be freed, when the thread has terminated
517 DBG(2, "* detaching thread(%ld)\n",