At Wed, 5 Jun 2002 15:50:20 +1000, Gavin Carr wrote:
> On Wed, Jun 05, 2002 at 03:49:59PM +1000, Angus Lees wrote:
> > At Wed, 5 Jun 2002 14:37:28 +1000, Gavin Carr wrote:
> > > I've got a situation where I want to able to write lock some of my epl
> > > components and know that the locking will b
On Wed, Jun 05, 2002 at 11:20:15AM +0200, Gerald Richter - ecos gmbh wrote:
> > Yeah that handles atomic writes, but not proper atomic updates - read
> > data, modify, write, avoiding the race condition between the read and
> > the write. I think that requires proper locking?
>
> If you only have
>
> Yeah that handles atomic writes, but not proper atomic updates - read
> data, modify, write, avoiding the race condition between the read and
> the write. I think that requires proper locking?
>
If you only have concurrent reads, it should work. If you also have
concurrent writes/updates, the
On Wed, Jun 05, 2002 at 03:49:59PM +1000, Angus Lees wrote:
> At Wed, 5 Jun 2002 14:37:28 +1000, Gavin Carr wrote:
> > I've got a situation where I want to able to write lock some of my epl
> > components and know that the locking will be honoured ...
>
> just do the usual "write to a temporary f
On Wed, Jun 05, 2002 at 08:22:36AM +0200, Gerald Richter wrote:
> > I've got a situation where I want to able to write lock some of my epl
> > components and know that the locking will be honoured ...
>
> You want to write lock the Embperl source files? Do you creating them
> dynamicly? Otherwise
Hi,
>
> I've got a situation where I want to able to write lock some of my epl
> components and know that the locking will be honoured ...
>
You want to write lock the Embperl source files? Do you creating them
dynamicly? Otherwise I can't imagine for what this should be good for.
Gerald
At Wed, 5 Jun 2002 14:37:28 +1000, Gavin Carr wrote:
> I've got a situation where I want to able to write lock some of my epl
> components and know that the locking will be honoured ...
just do the usual "write to a temporary file next to it, then rename
over the file you wanted" trick. IO::Atom