ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> db-sig
db-sig
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved