]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Complete backport of rev 50787 that was started in rev 50788
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>
Sun, 23 Jul 2006 14:29:02 +0000 (14:29 +0000)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>
Sun, 23 Jul 2006 14:29:02 +0000 (14:29 +0000)
Python/thread_os2.h

index c6fd23ee89310b6ef0c1dad9d9df0e1d9dc78290..074bdc1c600d9dc839f2265b722c9a52855a920c 100644 (file)
@@ -34,7 +34,7 @@ PyThread_start_new_thread(void (*func)(void *), void *arg)
 {
        int thread_id;
 
-       aThread = _beginthread(func, NULL, THREAD_STACK_SIZE, arg);
+       thread_id = _beginthread(func, NULL, THREAD_STACK_SIZE, arg);
 
        if (thread_id == -1) {
                dprintf(("_beginthread failed. return %ld\n", errno));