From: Mark Probert Date: 2004-01-29T10:49:52+09:00 Subject: Re: threads, mutex, regexp and trouble "Robert Klemme" wrote: > > Is it guaranteed that all threads use the same instance via 'mutex', > i.e. does synchronization work properly? Or maybe you use gsub! > instead of gsub (which you should since apparently all threads share > @cmds). > Thank you very much for your input. It is was the @cmds that was in fact getting overwritten. I changed how I processed it, to rereading the file for each thread, and the problem went away. Thanks also for the exception handling suggestions. Implemented! Regards, -mark.