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 93d1e48 commit 00480b7Copy full SHA for 00480b7
1 file changed
Modules/posixmodule.c
@@ -8499,7 +8499,7 @@ warn_about_fork_with_threads(
8499
8500
// If this returns <= 0, we were unable to successfully use any OS APIs.
8501
// Returns a positive number of threads otherwise.
8502
-static Py_ssize_t get_number_of_os_threads()
+static Py_ssize_t get_number_of_os_threads(void)
8503
{
8504
// TODO: Consider making an `os` module API to return the current number
8505
// of threads in the process. That'd presumably use this platform code but
0 commit comments