[RFC] Fix PosixProcess by porting VMProcess from Classpath...

Andrew Haley aph@redhat.com
Wed Jul 14 18:01:00 GMT 2004


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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /