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.
[REBOL] Re: Concurrent access to data file
CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN Mon, 19 Feb 2001 03:07:53 -0800
- [REBOL] Re: Concurrent acces... CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN
- [REBOL] Re: Concurrent ... CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN
- [REBOL] Re: Concurrent ... CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN
- [REBOL] Re: Concurr... Gabriele Santilli
- [REBOL] Re: Concurrent ... CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN
- [REBOL] Re: Concurr... Michal Kracik
- [REBOL] Re: Concurrent ... CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN
- [REBOL] Re: Concurr... Brett Handley
- [REBOL] Re: Concurr... Andrew Martin
- [REBOL] Re: Concurrent ... CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN
- [REBOL] Re: Concurr... Andrew Martin
