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!)
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!)