This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: gcj crashes if a user-thread gives up its rights
- From: Jost Boekemeier <jost2345 at yahoo dot de>
- To: "Boehm, Hans" <hans dot boehm at hp dot com>, Bryce McKinlay <mckinlay at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 15 Dec 2004 21:02:37 +0100 (CET)
- Subject: RE: gcj crashes if a user-thread gives up its rights
> to do what you want (pthread_setuid_np()?).
Well, I don't insist on the non-posix behaviour.
All user-threads are not a problem either, because
they are started from my pool which does the right
things.
The problem is the one gc/gcj "system thread" which I
don't control.
> And for non-Java code, it would be trivial
> to just hijack another thread.
How? That exactly would be the solution to my
problem: I cannot change the uid for the gcj "system
thread". -- What does this thread do, btw? I assumed
that it is either the GC or a mediator which works for
the GC.
> nptl source [...] still seems to rely on signals for
a few things
I've had the impression that this is only used to
cancel a thread or other things that I don't expect to
work when my thread doesn't have the rights.
Jost
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de