ECJ-INTEREST-L Archives

June 2008

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Sun, 1 Jun 2008 11:36:09 -0500
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (579 bytes) , text/html (641 bytes)
Okay.  Is there an external way to send a running ecj process a message to
stop?

Here is an simple example of how I could do this:
I could have ecj poll periodically for a file named "stop.txt" on the
filesytem and if it exists, it would call Evolve.cleanup(state) and
System.exit(0).  Then anytime I want to stop ecj, I just create the stop
file and then delete it after ecj has stopped.

Is there currently a way to stop ecj using a similar technique or do I need
to implement this myself?  Also, if I need to do this myself, can you think
of a better way to do it than the example above?


ATOM RSS1 RSS2