Subj : Re: Using SIGALRM with pthread To : comp.programming.threads From : Chris Friesen Date : Wed Jul 27 2005 04:54 pm gc wrote: > In the > SIGALRM handler, I also need to access some variables and data > structures from thread A. Nearly all the pthreads locking functions are not useable from within signal handlers. You may want to create another thread that just wakes up periodically. Then it can use all the regular locking and you don't need to worry about async signals. Chris .