[squeak-dev] CurrentReadOnlySourceFiles annoys me ...

Eliot Miranda eliot.miranda at gmail.com
Thu Dec 17 03:24:07 UTC 2015


On Wed, Dec 16, 2015 at 3:29 PM, tim Rowledge <tim at rowledge.org> wrote:

>
> > On 16-12-2015, at 2:43 PM, Levente Uzonyi <leves at caesar.elte.hu> wrote:
> >
> > My objection is that concurrent access of the read-only source files
> would cause race conditions.
> > 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.
>
> One of the best ways to avoid file read (and many write) issues would be
> to get rid of the {deletable expletive} stupid separate move & read/write
> operations. If the primitive were readBytes: num from: file to: buffer at:
> startposition and so on a lot of problems could not exist. It’s like error
> codes being found via a distinct api instead of being returned directly - a
> catastrophe waiting to happen.
>

Agreed.  How do we make this so?

tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> This is all a lot simpler and a lot more complicated than you could
> possibly imagine
>
>
>
>


-- 
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20151216/0cc764db/attachment.htm


More information about the Squeak-dev mailing list