On Wed, Nov 14, 2001 at 10:38:28PM +0100, Jochen Wiedmann wrote: > > Hi, Tim, > > Zitiere Tim Bunce <[EMAIL PROTECTED]>: > > > Er, why not fix Storable to be thread safe (if it isn't). > > That's bound to be fairly trivial and Storable is many times > > faster than Data::Dumper. > > making Storable thread safe is harder than you might > think. I have once sent a patch to Raphael which added > thread safety (among other things) and it took me about > 1 or 2 full days to work on that. The module is implemented > with C macros that access global variables - pain!
I'd be happy for it to (optionally) grab locks on entry and release on exit. Simple and far faster than per-sv. Tim.