The problem (I'm assuming) is that sometines the inotifywait method won't release the lock on the queue.
How did you arrive to that conclusion? You're claiming that what should be a reliable module has a bug in it, yet you haven't shown any evidence of that. You haven't even shown us how you use the queue! As far as we know, you never call dequeue.
By the way, could you please fix the link in your node to avoid using a specific PerlMonks domain? (For example, by using <a href="http://perlmonks.org/?node_id=672857">node</a> or [id://672857|node].)
In reply to Re: Thread::Queue locking question
by ikegami
in thread Thread::Queue locking question
by mhearse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |