MASON-INTEREST-L Archives

November 2005

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text 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:
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Thu, 3 Nov 2005 17:19:48 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
Liviu is correct.  JMF spawns threads which are never gathered.  (Bad
Sun! Bad, bad Sun!).  So you have to call System.exit to quit the
program rather than just drop out of your main thread.

Sean

On Nov 3, 2005, at 4:22 PM, Liviu Panait wrote:

>> I also noticed that although my program runs to the end I have to
>> manually exit the programm after running it.
>
> I believe that is because the graphics library kicks in at some point
> (probably when creating the movie), and it has some threads that can
> be stopped only with a System.exit.
>
> Liviu.

ATOM RSS1 RSS2