* Send the "please exit" signal that interrupts a system call * to the indicated thread. In other words, give it a kick to * get it out of system calls. */
| 125 | * get it out of system calls. |
| 126 | */ |
| 127 | void SyscallThread::KickThread() { |
| 128 | pthread_kill(thread_.native_handle(), SIG_THREAD_EXIT); |
| 129 | } |
| 130 | |
| 131 | // Get the signal mask for a pselect() or ppoll() system call. |
| 132 | const sigset_t *SyscallThreadPfuncs::Sigmask() const { |