in reply to Re: Thread::Queue and Memory
in thread Thread::Queue and Memory

Doh! Slaps head. Of course.

My confusion was somewhat caused by the examples listed in the tutorials. Not only that, but the Thread::Queue POD aludes to using "threads" not "Threads".

Thanx Chief

Update: Now that I've had time to think about it, it's not just locking I need, its cond_wait() and cond_signal(). Which is why I resorted to Thread::Queue fo simplification in the first place.

If you look at the POD for Thread::Queue it refers to the ithreads implimentation. Not the old perl threads implimentation.

Somehow, I think that last little line in the old Threads POD is not up to date according to the current documentation for perl 5.8.