<div dir="ltr">Hi Levente,<div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 16, 2015 at 2:43 PM, Levente Uzonyi <span dir="ltr">&lt;<a href="mailto:leves@caesar.elte.hu" target="_blank">leves@caesar.elte.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My objection is that concurrent access of the read-only source files would cause race conditions.<br>
We might simplify the thing by using the regular source files (or some shared read-only copies) when requested from the UI process, and create a read-only copy for all other processes. That would cover most potential slow-downs in the Trunk.</blockquote><div><br></div><div>Apart form the debugger can you think of situations in which this will really happen?  I can&#39;t. If you can convince me that concurrent access is a real danger then I&#39;ll think again, but in all my time doing Smalltalk with Smalltalk-80 v2, with VisualWorks and with Croquet, Squeak and Pharo the only time this has been an issue was in the debugger debugging source file access.  Given that that&#39;s easy to solve I don&#39;t see the point of living with such slow source file access for any longer :-)</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>
<br>
Levente</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Wed, 16 Dec 2015, Eliot Miranda wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
   IMO we don&#39;t need CurrentReadOnkySourceFiles, instead we should have SourceFilesArray maintain one read-only copy per source file.  The objection is that using a single file will make debugging source file access break, since the debuggers own access to source will perturb the source files whose access is being debugged, but the debugger can easily temporarily install a different read-init copy whenever it accesses source, insulating the debugged code from this effect.<br>
<br>
_,,,^..^,,,_ (phone)<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Dec 16, 2015, at 4:38 AM, marcel.taeumel &lt;<a href="mailto:Marcel.Taeumel@hpi.de" target="_blank">Marcel.Taeumel@hpi.de</a>&gt; wrote:<br>
<br>
I want to catch all exceptions because it is kind of test code where only<br>
success matters. :-)  It is an experiment where the participants should<br>
program stuff and receive a green tick whenever the task is accomplished.<br>
Raising a debugger when the participant puts a &quot;self halt&quot; or anything into<br>
the control flow of the test code would confuse the participant.<br>
<br>
Conceptionally, CurrentReadOnlySourceFiles is no kind of an exception. Thank<br>
you for the explanation. Can you sketch the steps to transform that into a<br>
PLV? Why would it take some effort?<br>
<br>
Bset,<br>
Marcel<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://forum.world.st/CurrentReadOnlySourceFiles-annoys-me-tp4867253p4867327.html" rel="noreferrer" target="_blank">http://forum.world.st/CurrentReadOnlySourceFiles-annoys-me-tp4867253p4867327.html</a><br>
Sent from the Squeak - Dev mailing list archive at Nabble.com.<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>