Hi Miguel!
A good solution to this problem is non-trivial. To help you with your
immediate issue, I will add a predicate so that you can test whether
or no
the eval engine is still running. I will also try to add another entry
point that will queue strings to be evaluated.
I understand that a (potentially long) script should be executed in the
background - and if the
user wishes to e.g. rotate the structure during this, this should still
be possible.
I guess a queue would be good then.
Would it be sufficient to lock the few places where eval.start() is
called - i.e. do the control in the Viewer class?
Andreas
-----------------------------------------------------------------------
Andreas Prlic Wellcome Trust Sanger Institute
Hinxton, Cambridge CB10 1SA, UK
+44 (0) 1223 49 6891
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers