Re: [DB-SIG] DB API 1.1 Spec
by M.-A. Lemburg other posts by this author
Mar 12 1999 7:41AM messages near this date
Re: [DB-SIG] DB API 1.1 Spec
|
Re: [DB-SIG] DB API 1.1 Spec
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/ :
---------------------------------------------------------
Thread:
M.-A. Lemburg
M.-A. Lemburg
M.-A. Lemburg
Greg Stein
Stephen J. Turner
Andy Dustman
M.-A. Lemburg
M.-A. Lemburg
Greg Stein
|