Blender Git Loki

Git Commits -> Revision 0c451bc

March 3, 2017, 16:42 (GMT)
Attempt to address nearly-starving cases.

Idea here is to reduce number of threads a pool is allowed to work on,
in case it does not get tasks quickly enough.

This does not seem to be really great result (have to only do the checks
once every 200 tasks pushed to avoid too much overhead), but I cannot
reproduce that nearly-starving case here so far. @sergey, curious if it
gives any difference on your 12cores with 14_03_G?

Commit Details:

Full Hash: 0c451bc530c9b7dd5431f8c2b5203c6f37339aa6
Parent Commit: 1ea1b04
Lines Changed: +36, -11

2 Modified Paths:

/source/blender/blenlib/BLI_task.h (+1, -1) (Diff)
/source/blender/blenlib/intern/task.c (+35, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021