SIGILL @ pthread_create() after execv -FIXED-
Julian Elischer
julian at elischer.org
Thu Sep 16 17:44:42 PDT 2004
Daniel Eischen wrote:
>On Thu, 16 Sep 2004, Julian Elischer wrote:
>
>Regardless, it doesn't have the signal mask that the execve()'ing thread
>has, and that is the key issue. The exec'd process needs to have the
>signal mask of the issuing thread.
>
>
>
>>I'd still prefer to do things that work for libthr as well as libpthread.
>>
>>
>
>I don't see why this (whatever we do) has to be any different for libthr.
>
>
>
>For libpthread, we could put ourselves in a critical region (clear
>the mailbox) -- that would stop upcalls. Does that also prevent
>switching to different kernel threads?
>
yes I guess that would be enough.
>
>
>
More information about the freebsd-threads
mailing list