the thread currently had the signal blocked. Fixed. It _may_ also
fix some assertion failures in scheduler_sanity() in vg_scheduler.c.
MERGE TO ERASER
git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_1_0_BRANCH@1072
vg_dcss.dcss_sigpending[sigNo] = False;
vg_dcss.dcss_destthread[sigNo] = VG_INVALID_THREADID;
continue; /* for (sigNo = 1; ...) loop */
- }
+ } else if (VG_(ksigismember)(&(tst->sig_mask), sigNo)) {
+ /* signal blocked in specific thread, so we can't
+ deliver it just now */
+ continue; /* for (sigNo = 1; ...) loop */
+ }
} else {
/* not directed to a specific thread, so search for a
suitable candidate */