This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martind
Recipients martind, skrah
Date 2010-11-09.12:35:26
SpamBayes Score 0.00035123868
Marked as misclassified No
Message-id <1289306128.52.0.542835880355.issue10363@psf.upfronthosting.co.za>
In-reply-to
Content
Here my suggested changes in plain text (I generated these as patches from a diff to the current code):

thread.c:
353a354,359
> void PyThread_fini()
> {
> 	// should assert here that nkeys == 0
> 	PyThread_free_lock(keymutex);
> }
> 


pystate.c:
38a39
> #define HEAD_RELEASE() PyThread_free_lock(head_mutex);
48a50
> #define HEAD_RELEASE() /* Nothing */
140a143
> 	HEAD_RELEASE();
422a426,427
> void PyThread_fini(); // forward
> 
428c433,434
< 	autoInterpreterState = NULL;;
---
> 	autoInterpreterState = NULL;
> PyThread_fini(); // this frees a lock called keymutex in thread.c


import.c
473a474,475
> 
> 	PyThread_free_lock(import_lock);
History
Date User Action Args
2010-11-09 12:35:28martindsetrecipients: + martind, skrah
2010-11-09 12:35:28martindsetmessageid: <1289306128.52.0.542835880355.issue10363@psf.upfronthosting.co.za>
2010-11-09 12:35:27martindlinkissue10363 messages
2010-11-09 12:35:26martindcreate