Lines Matching defs:interrupt
106 /* In asynchronous interrupt mode all bets
198 DCETHREAD_TRACE("Thread %p: already owned mutex used for interrupt", thread);
206 DCETHREAD_TRACE("Thread %p: broadcast to interrupt condwait", thread);
222 DCETHREAD_TRACE("Thread %p: broadcast to interrupt condwait", thread);
230 DCETHREAD_VERBOSE("Thread %p: could not acquire lock to interrupt condwait", thread);
254 /* Set default interrupt handler that throws an interrupt exception */
258 /* Set default interrupt method that pokes the thread with a signal */
259 thread->interrupt = dcethread__interrupt_syscall;
470 DCETHREAD_TRACE("Thread %p: interrupt acknowledged", thread);
487 DCETHREAD_TRACE("Thread %p: interrupt posted", thread);
490 /* We need to poke the thread and wait for an acknowledgement of the interrupt if: */
504 if (thread->interrupt(thread, thread->interrupt_data))
536 dcethread__begin_block(dcethread* thread, int (*interrupt)(dcethread*, void*), void* data,
550 *old_interrupt = thread->interrupt;
553 if (interrupt)
554 thread->interrupt = interrupt;
561 /* If an interrupt request has been posted (and we can be interrupted) */
573 dcethread__poll_end_block(dcethread* thread, int (*interrupt)(dcethread*, void*), void* data)
584 if (interrupt)
585 thread->interrupt = interrupt;
599 dcethread__end_block(dcethread* thread, int (*interrupt)(dcethread*, void*), void* data)
619 if (interrupt)
620 thread->interrupt = interrupt;