|
From: Qian W. <jan...@ya...> - 2005-08-10 05:29:09
|
Sorry, I mean signalStopping(n). Anyone has an idea? thanks --- Qian Wang <jan...@ya...> wrote: > Geetings, y'all, > I have a question about the stopping the service > while rebooting the mahine. My own shutting down > method sleep for 10 sec, then continue to clean my > working threads and other stuff. I used > stopsignale(12000) in wrapper's mail class to have > it > wait for 12 seconds, however, I don't think it can > actually wait that long, therefore my threads can't > be > shutdown properly. > > I've tried to use a smaller number to sleep my > shutdown method, then it works fine. > > My guess is my machine gets shutdown before wrapper > do > its job. How do I make wrapper wait for as long as I > want? > > > thanks a lot! > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software > Conference & EXPO > September 19-22, 2005 * San Francisco, CA * > Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects > & Teams * Testing & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs |