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

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.

Replies are listed 'Best First'.
Re^4: Some issues using Thread::Queue
by marioroy (Prior) on Jul 01, 2017 at 05:32 UTC

    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