Re: fihier log

"djp79u" <[email protected]>
Newsgroups gmane.comp.cybernetics.webot.contest
Message-ID <[email protected]>
> > * I uses three threads. A main one, not marked as daemon, extending 
> > the controller class, that launches two others, marked as 
> > daemon, dealing with motors and sensors respectively. Anything wrong 
> > with that (generally speaking) ?
> 
> might be a problem... I am not sure daemon threads may cause some 
> security issues.

Daemon threads are meant more for background work like Garbage
Collection, the JVM can exit whilst daemon threads are still running.
 I don't know the exact composition of your code but the problem you
may be having is that your main class is exiting thus destroying the
daemon threads along with it.  I'd try marking the two threads as
non-daemon.

Dominic/RoyBatty


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/pU_rlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.