Blender Git Loki

Git Commits -> Revision bae2a2c

Revision bae2a2c by Sergey Sharybin (master)
July 2, 2013, 19:23 (GMT)
Added missing mutex lock around do_exit assignment in task scheduler

Without this lock it's possible that thread_wait_pop will stuck
at the point where it await for new task in the queue but in
fact exit was requested already.

This ended up in deadlock in some circumstances. Really random
because it totally depends on timings.

Commit Details:

Full Hash: bae2a2c3b2d005696895b39f6fc497fb0839331e
SVN Revision: 57943
Parent Commit: a03437c
Lines Changed: +2, -0

1 Modified Path:

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