Re: pthreads and sigaltstack on i386

2001-07-23 Thread Bob Smith
>How are you compiling it? Seems to work okay under unstable. > Sends itself SIGUSR1, goes into sigsuspend, is woken up, handles > the signal, and exits (by the way, main always returns an int ;). > > I don't see any threads stuff, so how the pthread_sighandler error? > > I compiled as: > $ gcc -g

pthreads and sigaltstack on i386

2001-07-23 Thread Bob Smith
I'm using Debian potato. I can't get this program to use sigaltstack and pthreads at the same time on i386. I get a SIGSEGV in pthread_sighandler. The program works fine on Alpha Linux and Solaris. Is this a known i386 problem? Is there a cure? Thanks, Bob --- #include #include #include in