Blender Git Loki

Git Commits -> Revision 25d30e6

Revision 25d30e6 by Hans Goudey (master)
November 16, 2021, 20:49 (GMT)
Fix T92857: Deadlock in geometry nodes curve multi-threading

The spline code, especially Bezier splines, often make use of lazily
evaluation and caching. In order to do that, they use mutex locks.
When multi-threading, this can lead to problems. Further detail
can be found in rBfcc844f8fbd0d1.

To fix the deadlock, isolate the task before multi-threading
when holding a lock.

Differential Revision: https://developer.blender.org/D13229

Commit Details:

Full Hash: 25d30e6c99a2d89bf7babfacb24a8c8aa61b3b3b
Parent Commit: cfd0e96
Lines Changed: +11, -5

1 Modified Path:

/source/blender/blenkernel/intern/spline_bezier.cc (+11, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021