[EMAIL PROTECTED] wrote:

> How can you prevent multiple simultaneous file access ?
>
> I looked at source code for a perl script a while back and it included a
> function called flock() which allowed you to lock a file so that it cant be
> opened for reading two or more times at the same time.
>
> Can something like this be done in REBOL ?

I pointed it out to REBOL feedback and it was included in the database of
requirements with severity medium-high. We will probably see open/exclusive
refinement added or so I assume ... It's really good to have such functionality
added ...

-pekr-

>
>
> I plan to write some cgi scripts and if a data file tries to get read and
> written at the same time by a couple of instances of the script Im worried
> of possible corruption.
>
> Ive been lurking here for a while now and still new to REBOL - not like
> other languages Ive learnt in the past, but could be the most useful and
> quickest for some tasks in my opinion :)
>
> Barry Jones
> -------
> The Random Groucho Marx Quotes Page
> http://www.therightside.demon.co.uk/quotes/groucho/

Reply via email to