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.
In reply to Re: A job scheduler for the threads module
by roboticus
in thread A job scheduler for the threads module
by samwyse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |