Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

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
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?
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 lurking in the Monastery: (15)
As of 2015-07-28 15:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (257 votes), past polls