Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Re: Thread::Queue and Memory

by petesmiley (Friar)
on Feb 21, 2003 at 02:49 UTC ( #237321=note: print w/replies, xml ) Need Help??

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.

  • So, I either don't understand Thread::Queue properly and it is supposed to work with ithreads, and the docs on the old Threads POD needs to be updated.
  • Or, Thread::Queue is not supposed to work with ithreads and there is something fuzzy with the docs and there needs to be a clarification.
  • Or, there is something actually wrong with Thread::Queue, it is supposed to work with ithreads, and the docs for the old Threads implimentation needs to be fixed.
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://237321]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2020-04-09 11:33 GMT
Find Nodes?
    Voting Booth?
    The most amusing oxymoron is:

    Results (47 votes). Check out past polls.