Blender Git Commit Log
Git Commits -> Revision 2f722f1
Revision 2f722f1 by Sergey Sharybin (master) March 7, 2017, 16:32 (GMT) |
Task scheduler: Use real pthread's TLS to access active thread's data This allows us to avoid TLS stored in pool which gives us advantage of using pre-allocated tasks pool for the pools created from non-main thread. Even on systems with slow pthread TLS it should not be a problem because we access it once at a pool construction time. If we want to use this more often (for example, to get rid of push_from_thread) we'll have to do much more accurate benchmark. |
Commit Details:
Full Hash: 2f722f1a4966f4eae695521bbcf3d5b2bf02a8dd
Parent Commit: a07ad02
Lines Changed: +31, -31
1 Modified Path:
/source/blender/blenlib/intern/task.c (+31, -31) (Diff)