Blender Git Loki
Git Commits -> Revision 04ac876
Revision 04ac876 by Bastien Montagne (master) November 2, 2015, 15:57 (GMT) |
BLI_task: add support for full-background taskpools. With current code, in single-threaded context, a pool of task may never be executed until one calls BLI_task_pool_work_and_wait() on it, this is not acceptable for asynchronous tasks where you never want to actually lock the main thread. This commits adds an extra thread in single-threaded case, and a new 'type' of pool, such that one can create real background pools of tasks. See code for details. Review: D1565 |
Commit Details:
Full Hash: 04ac8768efc342997f941f08688398c1d90bec79
Parent Commit: 44774f8
Lines Changed: +56, -1