diff options
author | Guido van Rossum <guido@python.org> | 2001-10-16 21:50:04 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-16 21:50:04 (GMT) |
commit | 2c40adb1e4d09caef9a459864598c0b2518e7c86 (patch) | |
tree | b54ab4b4b025cab6f933fa86843e28da5314791e | |
parent | 9074ef60818e561674e601f2859c799a28b00a78 (diff) | |
download | cpython-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().
-rw-r--r-- | Python/thread_nt.h | 2 |
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; |