> Don't know where to put the tst-raise1.c testcase, signal/ or somewhere > else (nptl/ is bad, since it should not be linked against -lpthread)? signal/ is the right place. > The attached patch should cure both. Performance wise, I tried: Your code looks good to me.