[DB-SIG] DB API 1.1 Spec

M.-A. Lemburg mal@lemburg.com
Thu, 11 Mar 1999 22:41:23 +0100


Andy Dustman wrote:
> 
> Okay, a few last minute comments as I skim through there:
> 
> Thread safety: All those values need to be bumped up a notch to make room
> for the real 0:
> 
> 0: Threads may not share the module.

Ok. Forgot that one ;-)

> And perhaps the point needs to be made that "share" means "two threads
> using the same resource without a mutex". With a mutex, and the right user
> locking code, anything ought to be shareable.

Hmm, not sure about that one: the mutex could not be coarse grained
enough to lock out potential problems ;-) Anyway, I'll add a note
about the code "being thread safe all by itself".

-- 
Marc-Andre Lemburg                               Y2000: 295 days left
---------------------------------------------------------------------
          : Python Pages >>> http://starship.skyport.net/~lemburg/  :
           ---------------------------------------------------------