Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API: fix bug where app doesn't exit if client dies while app in criti…
…cal section There were two parts to this: - In the timer thread, we need to check for client death even if we're in a critical section. If both conditions hold, set the no_heartbeat status flag. - In boinc_end_critical_section(), check no_heartbeat and exit if set. Also: the various checks in boinc_end_critical_section() (quit, abort, no heartbeat) should be conditioned on options.direct_process_action. Otherwise wrappers that use critical sections won't do the right thing.
- Loading branch information
1 parent
5f36375
commit f0c39bd
Showing
2 changed files
with
13 additions
and
8 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