Blender  V2.93
Functions
bpy_threads.c File Reference
#include <Python.h>
#include "../BPY_extern.h"
#include "BLI_utildefines.h"

Go to the source code of this file.

Functions

BPy_ThreadStatePtr BPY_thread_save (void)
 
void BPY_thread_restore (BPy_ThreadStatePtr tstate)
 

Detailed Description

This file contains wrapper functions related to global interpreter lock. these functions are slightly different from the original Python API, don't throw SIGABRT even if the thread state is NULL.

Definition in file bpy_threads.c.

Function Documentation

◆ BPY_thread_restore()

void BPY_thread_restore ( BPy_ThreadStatePtr  tstate)

Definition at line 40 of file bpy_threads.c.

◆ BPY_thread_save()

BPy_ThreadStatePtr BPY_thread_save ( void  )

Definition at line 30 of file bpy_threads.c.

References NULL.