X Tutup
Skip to content

Commit 3f2cd55

Browse files
committed
GIL 관련 internal -> public 수정
1 parent ac336a8 commit 3f2cd55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/pythonengine.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ static void ExecuteShutdownHandlers()
479479
/// For more information, see the "Extending and Embedding" section
480480
/// of the Python documentation on www.python.org.
481481
/// </remarks>
482-
internal static IntPtr AcquireLock()
482+
public static IntPtr AcquireLock()
483483
{
484484
return Runtime.PyGILState_Ensure();
485485
}
@@ -494,7 +494,7 @@ internal static IntPtr AcquireLock()
494494
/// For more information, see the "Extending and Embedding" section
495495
/// of the Python documentation on www.python.org.
496496
/// </remarks>
497-
internal static void ReleaseLock(IntPtr gs)
497+
public static void ReleaseLock(IntPtr gs)
498498
{
499499
Runtime.PyGILState_Release(gs);
500500
}

0 commit comments

Comments
 (0)
X Tutup