We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac336a8 commit 3f2cd55Copy full SHA for 3f2cd55
src/runtime/pythonengine.cs
@@ -479,7 +479,7 @@ static void ExecuteShutdownHandlers()
479
/// For more information, see the "Extending and Embedding" section
480
/// of the Python documentation on www.python.org.
481
/// </remarks>
482
- internal static IntPtr AcquireLock()
+ public static IntPtr AcquireLock()
483
{
484
return Runtime.PyGILState_Ensure();
485
}
@@ -494,7 +494,7 @@ internal static IntPtr AcquireLock()
494
495
496
497
- internal static void ReleaseLock(IntPtr gs)
+ public static void ReleaseLock(IntPtr gs)
498
499
Runtime.PyGILState_Release(gs);
500
0 commit comments