Message120862
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); |
|
Date |
User |
Action |
Args |
2010-11-09 12:35:28 | martind | set | recipients:
+ martind, skrah |
2010-11-09 12:35:28 | martind | set | messageid: <1289306128.52.0.542835880355.issue10363@psf.upfronthosting.co.za> |
2010-11-09 12:35:27 | martind | link | issue10363 messages |
2010-11-09 12:35:26 | martind | create | |
|