-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
How to get into a joinable pthread state?
1. Currently the job dispatcher might have pending jobs. These are not processed any more if we test for dt_control_running() in job.c 2. We continue dispatching even in DT_CONTROL_STATE_CLEANUP to get all things done. 3. But how can we know if all jobs are finalized? This might be a way, we increase `pending_jobs` jobs-to-be-done and decrease for finalized jobs. 4. In control_shutdown we have to wait until everything is done.
- Loading branch information
1 parent
77bed88
commit a9d0f10
Showing
4 changed files
with
46 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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