From: Marc Weber Date: 2010-02-27T04:56:38+09:00 Subject: Re: Mechanize MySQL and threads - deadlock? > # t: class extending Thread > # tasks: type Queue.new > # parallel: num of threads used to run those tasks > def run_tasks_wait(t, tasks, parallel) Replacing the Queue by an Array seems to fix the issue. Marc