[Zope-dev] Re: Threads, Locks, Volatility, and Angst

2004-04-01 Thread Tres Seaver
Christian Theune wrote: On Thu, 2004-04-01 at 00:25, Ian Beatty wrote: I thought "Okay, no problem. I'll just make the lock variable volatile, since I don't really care whether it persists when Zope shuts down." So I renamed the lock to begin with '_v_'. That solves my "UnpickleableError" problem

[Zope-dev] Re: Threads, Locks, Volatility, and Angst

2004-03-31 Thread Tres Seaver
Ian Beatty wrote: On 2004-03-31 5:42 PM, [EMAIL PROTECTED] is reputed to have said: Do you use this unique ID only as some kind of session ID? Yes, exactly. If you only need these IDs during a session (don't have to store them in ZODB), you can create a thread safe class for managing them and