mafw.tools.parallel
Utilities for parallel execution in MAFw.
Added in version v2.1.0.
Functions
Check if Python is running in free-threading mode. |
- mafw.tools.parallel.is_free_threading() bool[source]
Check if Python is running in free-threading mode.
This function inspects the Python interpreter to determine whether it is running in free-threading mode (also known as “nogil” or “free-threaded”), which disables the Global Interpreter Lock (GIL).
- Returns:
True if the interpreter is running in free-threading mode, False otherwise.
- Return type:
bool