Fred Drake wrote at 2007-1-10 17:30 -0500:
>On 1/10/07, Dieter Maurer <[EMAIL PROTECTED]> wrote:
>>   *It* must be informed whenever it is used in a different thread.
>
>Perhaps it could use some thread-local data to keep track of this?
>threading.local comes to mind.

This is a nice idea but in this case not very practical:

   The module provides lots of functions. Each of these
   functions would need to get instrumented to interprete
   the thread-local variable and take appropriate action.



-- 
Dieter
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to