Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2018-01-19 06:22 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (215 votes). Check out past polls.