[Python-checkins] CVS: python/dist/src/Python thread_nt.h,2.19,2.20

Guido van Rossum gvanrossum@users.sourceforge.net
Tue, 16 Oct 2001 14:50:06 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv7928

Modified Files:
	thread_nt.h 
Log Message:
Fix a bug in the previous checkin.  The wrong bootstrap function was
passed to _beginthread().


Index: thread_nt.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread_nt.h,v
retrieving revision 2.19
retrieving revision 2.20
diff -C2 -d -r2.19 -r2.20
*** thread_nt.h	2001/10/16 21:13:49	2.19
--- thread_nt.h	2001/10/16 21:50:04	2.20
***************
*** 194,198 ****
  	obj->done = CreateSemaphore(NULL, 0, 1, NULL);
  
! 	rv = _beginthread(func, 0, obj); /* use default stack size */
   
  	if (rv != (unsigned long)-1) {
--- 194,198 ----
  	obj->done = CreateSemaphore(NULL, 0, 1, NULL);
  
! 	rv = _beginthread(bootstrap, 0, obj); /* use default stack size */
   
  	if (rv != (unsigned long)-1) {