Thanks David, done. - Jay
---------------------------------------- > Date: Tue, 27 Jul 2010 09:28:10 +0200 > Subject: Re: kill/sigsuspend vs. cc -pthread? > From: dco...@gmail.com > To: jay.kr...@cornell.edu > CC: misc@openbsd.org > > On Tue, Jul 27, 2010 at 9:21 AM, Jay K wrote: > > Following 163 lines are reduced from a "very portable" way to implement > > threads in usermode, > > without hacking jmpbuf, using sigaltstack to set the stack pointer. > > > > > > On OpenBSD 4.6 x86 and powerpc it hangs if I use -pthread, but otherwise does > > not. > > The hang is in the while(..) sigsuspend(), not too surprising. > > Using pthread_sigmask and pthread_kill(pthread_self()) doesn't fix it. > > > > > > Any ideas? > > Maybe it is "fixed" in 4.7? I'll try that soon. > > This is really stuff for t...@. You're on the wrong mailing list. > > ciao, > David