in reply to Re: Some issues using Thread::Queue
in thread Some issues using Thread::Queue

Did this fix your problem?

Replies are listed 'Best First'.
Re^3: Some issues using Thread::Queue
by leostereo (Beadle) on Dec 12, 2016 at 17:36 UTC

    Dear BrowserUk it didn'work. In fact now it processes less lines than before.
    Any other idea ?? perhaps you can sugest some prints for debuging ?
    Regards;
    Leo.

      Hi leostereo,

      Have you tried running a recent version of Thread::Queue? The 3.12 release addresses a deadlock issue.

      3.12 Thu Feb 9 18:42:45 2017 - Fix deadlock caused by combination of dequeue_nb, enqueue and queue size limit (Bug #120157 - fix by Chad Fox) - Prevent calling dequeue methods with COUNT > LIMIT

      There was another fix prior to that.

      3.07 Fri Oct 23 23:54:18 2015 - Edge-case fix to queue limit feature

      This will output the version.

      perl -MThread::Queue -le "print Thread::Queue->VERSION"

      Regards, Mario