Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 1998 21:22:05 -0500 (EST)
From:      Brian Feldman <green@unixhelp.org>
To:        "Richard Seaman, Jr." <lists@tar.com>
Cc:        "current@freebsd.org" <current@FreeBSD.ORG>
Subject:   Re: RFSIGSHARE ready?
Message-ID:  <Pine.BSF.4.05.9811102118180.14660-100000@janus.syracuse.net>
In-Reply-To: <199811101516.JAA20439@ns.tar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you!

On Tue, 10 Nov 1998, Richard Seaman, Jr. wrote:

> On Fri, 6 Nov 1998 21:27:50 -0500 (EST), Brian Feldman wrote:
> 
> >I suppose it is. LinuxThreads don't work tho... I need %@#!^ testers!
> 
> I looked briefly at your code, and I have a question.  I understand
> that the "flags" argument to the clone call takes a signal number
> in the low order 8 bits of flags.  This is the signal to be sent to
> the parent on exit of the thread.
This is strange... a signal is 5 bits. But I never new this, so thanks for
telling me!! I never new this, and this will be absolutely key to getting
LinuxThreads working (although this should REALLY be done in user-space...
perhaps I shall modify pthread_exit or whatever to send the signal
manually and see if that works perfectly. If so, I know where my effort
should be going :)
>
> I can see where you implement signal sharing, but
not where
you > record and implement this exit signal handling.  Linuxthreads relies
> on the thread manager thread receiving a "PTHREAD_SIG_RESTART"
> signal (actually SIGUSR1) when threads exit.
> 
> Perhaps I've missed something?
This doesn't necessarily sound like it's the last bug to be fixed, but it
sure could be. Thanks a bunch!

Cheers,
Brian Feldman
> 
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9811102118180.14660-100000>