mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix a bug in the previous checkin. The wrong bootstrap function was
passed to _beginthread().
This commit is contained in:
parent
9074ef6081
commit
2c40adb1e4
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ long PyThread_start_new_thread(void (*func)(void *), void *arg)
|
|||
obj->arg = arg;
|
||||
obj->done = CreateSemaphore(NULL, 0, 1, NULL);
|
||||
|
||||
rv = _beginthread(func, 0, obj); /* use default stack size */
|
||||
rv = _beginthread(bootstrap, 0, obj); /* use default stack size */
|
||||
|
||||
if (rv != (unsigned long)-1) {
|
||||
success = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue