Thanks Petr, I will test it at once !

chr==


> -----Original Message-----
> From: Petr Krenzelok [SMTP:[EMAIL PROTECTED]]
> Sent: maandag 19 februari 2001 11:29
> To:   [EMAIL PROTECTED]
> Subject:      [REBOL] Re: Concurrent access to data file
> 
> Hi,
> 
> I don't have currently enough free time to read whole your email, but I
> would
> like to suggest you to use semaphore like solution:
> 
> sem: open/new %semaphore.sem
> ->> error? try [delete %semaphore.sem]
> == true
> 
> You can't delete your semaphore file while OS holds lock on it .... but be
> carefull and don't open several instances of 'sem ...
> The advantage here is - even if your app crashes, the solution will work,
> because OS will free lock it holds upon the file and rebol will
> succesfully
> delete it ... or so I think :-)
> 
> 
> Hope this helps,
> 
> Cheers,
> -pekr-
> 
> 
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to