Kaydet (Commit) 2c40adb1 authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix a bug in the previous checkin. The wrong bootstrap function was

passed to _beginthread().
üst 9074ef60
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment