lock with openoffice build with libkse

Daniel Eischen eischen at pcnet.com
Thu May 29 13:00:53 PDT 2003


On Thu, 29 May 2003, Alexander Kabaev wrote:

> Daniel,
> 
> attached program is enough to trigger the loop. It looks like
> the setjump/longjmp from signal handler trick only forks for
                                                     ^^^^^ works?
> the first time.

I'll look at it, but setjmp/longjmp call _sigprocmask() which
is wrapped by the threads library.  This changes the thread
signal mask, not the kernel's (kernel thread) signal mask.
This means that subsequent signals will be blocked because
the kernel never gets notified that the mask should be
reset.

-- 
Dan Eischen



More information about the freebsd-threads mailing list