Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2021-09-10 15:57:56 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-09-10 15:58:02 +0300
commit0467ff4053440982b70866a2868d8664c4ddc5a6 (patch)
treeafe55e11082fc97755c56549a8a4a46243882143 /intern/cycles/blender/blender_util.h
parentca39aff59d45e15297a25895f6963e134894aad4 (diff)
Python: extra check on `BPY_thread_save()` to ensure proper GIL handling
Use `_PyThreadState_UncheckedGet()` to check that the current thread is tracked by Python before checking whether it has the GIL. The latter will abort when the former is false.
Diffstat (limited to 'intern/cycles/blender/blender_util.h')
0 files changed, 0 insertions, 0 deletions