From: Guido van Rossum Date: Tue, 16 Oct 2001 21:50:04 +0000 (+0000) Subject: Fix a bug in the previous checkin. The wrong bootstrap function was X-Git-Tag: v2.2.1c1~1241 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c40adb1e4d09caef9a459864598c0b2518e7c86;p=python Fix a bug in the previous checkin. The wrong bootstrap function was passed to _beginthread(). --- diff --git a/Python/thread_nt.h b/Python/thread_nt.h index 21aac29a49..6eac020ee0 100644 --- a/Python/thread_nt.h +++ b/Python/thread_nt.h @@ -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;