At 03:46 PM 7/30/02 +0200, Arthur Bergman wrote:
>>In case it's not clear - I agree that this is the correct approach.
>>It's just that it's hard to do when part of what you're trying to clone
>>is an opaque data structure supplied by a third party library that wasn't
>>expecting to be cloned.
>Some things cannot be cloned, perhaps it should just close the file for 
>the thread, or something, or share the structure between the threads but 
>protect it with a mutex?

I would just close it.  Especially with stuff such as gzip, you're never 
going to get the mutex right from a data consistency point of view...


Liz

Reply via email to