Created
March 13, 2012 21:05
-
-
Save s3u/2031587 to your computer and use it in GitHub Desktop.
io-fork-join-orch-algo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| repeat while pending > 0 | |
| for each statement | |
| if task represented by the statement has no dependencies | |
| pending++; | |
| execute the task | |
| on completion | |
| pending--; | |
| notify dependencies to update met dependencies | |
| repeat this algo | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment