Mercurial > cpython-lru_cache-weakref
diff Python/thread_nt.h @ 20473:8d5c000e0e5b legacy-trunk
Fix a bug in the previous checkin. The wrong bootstrap function was
passed to _beginthread().
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 16 Oct 2001 21:50:04 +0000 |
| parents | ebfd87e87884 |
| children | 54932054f6a9 8b116a8449bd |
line wrap: on
line diff
--- a/Python/thread_nt.h Tue Oct 16 21:34:49 2001 +0000 +++ b/Python/thread_nt.h Tue Oct 16 21:50:04 2001 +0000 @@ -193,7 +193,7 @@ 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;
