[Zope-dev] ThreadSafeCounter 0.0.1 released

Martijn Pieters mj@digicool.com
Mon, 12 Feb 2001 15:32:59 +0100


On Mon, Feb 12, 2001 at 02:27:24PM +0000, Toby Dickenson wrote:
> On Mon, 12 Feb 2001 10:27:02 +0100, Martijn Pieters <mj@digicool.com>
> wrote:
> 
> >The ZODB will invalidate and force a retry on one of the connections.
> >Chris's code is threadsafe and will result in unique, sequential values.
>                                                        **********
> 
> Unless a transaction gets retried for some other reason, when it will
> appear to skip a value.

To one thread, yes. But not to the whole application.

-- 
Martijn Pieters
| Software Engineer  mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------