Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libcore|Concurrency: Async work using TaskPool
TaskPool now supports performing async work and then making a completion callback in the main thread. Data can be passed between the worker and the completion using a Variant. Fixed a memory leak in TaskPool where the completed tasks were never deleted. (Hopefully just a goof during refactoring!)
- Loading branch information
Showing
2 changed files
with
112 additions
and
14 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