We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a54d36 commit 5062cf0Copy full SHA for 5062cf0
1 file changed
Python/thread.c
@@ -335,7 +335,7 @@ PyThread_GetInfo(void)
335
#ifdef HAVE_PTHREAD_STUBS
336
value = Py_NewRef(Py_None);
337
#else
338
-#ifdef MS_WINDOWS
+#if defined(MS_WINDOWS) || defined(__wasi__)
339
340
341
value = PyUnicode_FromString("semaphore");
@@ -365,7 +365,6 @@ PyThread_GetInfo(void)
365
return threadinfo;
366
}
367
368
-
369
void
370
_PyThread_FiniType(PyInterpreterState *interp)
371
{
0 commit comments