Lines Matching refs:threads
65 SIGVGKILL is used to terminate threads. When one thread wants
149 something worse: dealing with signals delivered to threads in
1157 oss->ss_sp = VG_(threads)[tid].altstack.ss_sp;
1158 oss->ss_size = VG_(threads)[tid].altstack.ss_size;
1159 oss->ss_flags = VG_(threads)[tid].altstack.ss_flags
1173 VG_(threads)[tid].altstack.ss_flags = VKI_SS_DISABLE;
1179 VG_(threads)[tid].altstack.ss_sp = ss->ss_sp;
1180 VG_(threads)[tid].altstack.ss_size = ss->ss_size;
1181 VG_(threads)[tid].altstack.ss_flags = 0;
1352 *oldset = VG_(threads)[tid].sig_mask;
1357 do_sigprocmask_bitops (how, &VG_(threads)[tid].sig_mask, newset );
1358 VG_(sigdelset)(&VG_(threads)[tid].sig_mask, VKI_SIGKILL);
1359 VG_(sigdelset)(&VG_(threads)[tid].sig_mask, VKI_SIGSTOP);
1360 VG_(threads)[tid].tmp_sig_mask = VG_(threads)[tid].sig_mask;
1415 if (VG_(threads)[tid].sig_queue != NULL) {
1416 VG_(free)(VG_(threads)[tid].sig_queue);
1417 VG_(threads)[tid].sig_queue = NULL;
1440 tst = & VG_(threads)[tid];
1636 if (VG_(threads)[tid].status == VgTs_WaitSys) {
1657 marks all threads as needing to exit, but it doesn't actually kill
1889 VG_(threads)[1].client_stack_szB);
1913 //VG_(threads)[VG_(master_tid)].os_state.fatalsig = sigNo;
1917 VG_(threads)[tid].exitreason = VgSrc_FatalSig;
1918 VG_(threads)[tid].os_state.fatalsig = sigNo;
2021 vg_assert(VG_(threads)[tid].status == VgTs_Runnable);
2033 if (VG_(sigismember)(&VG_(threads)[tid].sig_mask, VKI_SIGSEGV))
2063 vg_assert(VG_(threads)[tid].status == VgTs_Runnable);
2083 vg_assert(VG_(threads)[tid].status == VgTs_Runnable);
2114 vg_assert(VG_(threads)[tid].status == VgTs_Runnable);
2156 vg_assert(VG_(threads)[tid].status == VgTs_Runnable);
2560 if (VG_(threads)[tid].status == VgTs_WaitSys
2843 ThreadStatus at_signal = VG_(threads)[tid].status;
2858 vg_assert(VG_(threads)[tid].status == VgTs_WaitSys);
3056 vg_assert(VG_(threads)[1].status == VgTs_Init);
3058 vg_assert(VG_(threads)[i].status == VgTs_Empty);
3060 VG_(threads)[1].sig_mask = saved_procmask;
3061 VG_(threads)[1].tmp_sig_mask = saved_procmask;