This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [RFC] Fix PosixProcess by porting VMProcess from Classpath...
David Daney writes:
> Andrew Haley wrote:
> >
> > So, we wait either to be notified or until one second has passed.
> > That doesn't seem like such a great scheme, altho' it's better than
> > what we do at present.
> >
> > I suppose the right thing to do is call wait(2) instead of waiting on
> > workList -- when we add a process to that list we can send the
> > reaper/initiator thread a signal to wake it up.
> >
> That is exactly what I was/am thinking.
>
> What signal to send to wake it up?
>
> SIGHUP, some "real time" signal, something else?
Hmmm. Tricky. :-)
Maybe SIGALRM ? SIGPOLL?
Andrew.