summaryrefslogtreecommitdiffstats
path: root/Python/thread_nt.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-16 21:50:04 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-16 21:50:04 (GMT)
commit2c40adb1e4d09caef9a459864598c0b2518e7c86 (patch)
treeb54ab4b4b025cab6f933fa86843e28da5314791e /Python/thread_nt.h
parent9074ef60818e561674e601f2859c799a28b00a78 (diff)
downloadcpython-2c40adb1e4d09caef9a459864598c0b2518e7c86.zip
cpython-2c40adb1e4d09caef9a459864598c0b2518e7c86.tar.gz
cpython-2c40adb1e4d09caef9a459864598c0b2518e7c86.tar.bz2
Fix a bug in the previous checkin. The wrong bootstrap function was
passed to _beginthread().
Diffstat (limited to 'Python/thread_nt.h')
-rw-r--r--Python/thread_nt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread_nt.h b/Python/thread_nt.h
index 21aac29..6eac020 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;