]> granicus.if.org Git - python/commitdiff
Fix a bug in the previous checkin. The wrong bootstrap function was
authorGuido van Rossum <guido@python.org>
Tue, 16 Oct 2001 21:50:04 +0000 (21:50 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 16 Oct 2001 21:50:04 +0000 (21:50 +0000)
passed to _beginthread().

Python/thread_nt.h

index 21aac29a496371dd138ac3c3a13bfdcd2e8c2b5b..6eac020ee04808226530a3cc2f4d1bdec4fe6f7e 100644 (file)
@@ -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;