forked from openframeworks/openFrameworks
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added waitForThread method. detach and join are incompatible so
have added a close parameter to stopThread that defaults to true but is called as false from the thread to not called detach. wait has also a stop parameter to set threadRunning to false and then wait for the thread to finish or only wait in case the thread will stop by itself. Closes openframeworks#204
- Loading branch information
Showing
2 changed files
with
44 additions
and
17 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