Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: A job scheduler for the threads module

by roboticus (Chancellor)
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


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.


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

Comment on Re: A job scheduler for the threads module
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2015-11-30 08:44 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (766 votes), past polls