diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2008-02-26 20:23:56 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2008-02-26 20:23:56 +0300 |
commit | 2089ac309196f4fd024ea2a9a8793fbb6f4a36a2 (patch) | |
tree | 6610d19207a56c5e109814207e0487c19c56ce24 /source/blender/blenkernel/intern/mball.c | |
parent | 995262728f0550b6ff12028a160bc1d37e50d546 (diff) |
== BPython ==
Another experiment to support threading properly. By default the Python Interpreter releases its lock every 100 instructions so that other threads get a chance to run Python code and API calls. But that is not enough to prevent race conditions causing artifacts (and maybe crashes) during threaded rendering, since all threads will access the same pynodes data.
So I'm disabling this automatic releasing of the lock (the GIL) by the interpreter, which seems to be a better option for how Blender uses Python.
Diffstat (limited to 'source/blender/blenkernel/intern/mball.c')
0 files changed, 0 insertions, 0 deletions