Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: A job scheduler for the threads module

by roboticus (Canon)
on Dec 24, 2012 at 22:29 UTC ( #1010236=note: print w/ replies, xml ) Need Help??


in reply to A job scheduler for the threads module

samwyse:

It's pretty simple to do that. I have an example at Re: Threaded Application Sequencing/Rendezvous that shows the logic. You should be able to tie threads to it fairly easily, I think.

...roboticus

When your only tool is a hammer, all problems look like your thumb.


Comment on Re: A job scheduler for the threads module
Re^2: A job scheduler for the threads module
by samwyse (Scribe) on Dec 27, 2012 at 12:33 UTC

    It was so nice to wake up on Christmas morning and find these replies. Obviously my mistake was not knowing what keywords to use as search strings! (Admittedly, a fairly common mistake when there's more than one way to do it.) In the future, I hope that anyone searching for "thread scheduling" will find this thread.

    BTW, I like your answer a lot more than learnedbyerror's eventual solution, which seems like overkill. I'll use yours as a basis for whatever I come up with and add it to my question.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-12-22 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (112 votes), past polls