<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 22: File copying waits for all copies to finish</title><link href="https://sourceforge.net/p/beamgoo/bugs/22/" rel="alternate"/><link href="https://sourceforge.net/p/beamgoo/bugs/22/feed.atom" rel="self"/><id>https://sourceforge.net/p/beamgoo/bugs/22/</id><updated>2005-08-09T22:31:01Z</updated><subtitle>Recent changes to 22: File copying waits for all copies to finish</subtitle><entry><title>File copying waits for all copies to finish</title><link href="https://sourceforge.net/p/beamgoo/bugs/22/" rel="alternate"/><published>2005-08-09T22:31:01Z</published><updated>2005-08-09T22:31:01Z</updated><author><name>Benjamin Sprague</name><uri>https://sourceforge.net/u/realmadsci/</uri></author><id>https://sourceforge.net7564037e8de5e1c19350d6fdc3f28ab1049f86a0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Because of how tkwait stacks recursively, runs don't&lt;br /&gt;
start until after all of the copying runs have finished&lt;br /&gt;
copying (even if one of them finishes way before the&lt;br /&gt;
others, it waits for the others to finish). However, if&lt;br /&gt;
the last run to start copying finishes first, it will&lt;br /&gt;
go before the others do. This is because tkwait won't&lt;br /&gt;
return until it and all of the tkwaits called during&lt;br /&gt;
it's run have completed. So I have to come up with some&lt;br /&gt;
better code in simNode than this:&lt;/p&gt;
&lt;p&gt;tkwait variable ${cpyVar}(finished)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>