New submission from Daniel Stutzbach:

local_clear in _threadmodule.c walks the list of threads without holding 
head_mutex.  Since the list of threads can change when holding only head_mutex 
and not on the GIL, the list can change while local_clear is executing, which 
may cause Bad Things to happen.

----------
components: Library (Lib)
messages: 237078
nosy: stutzbach
priority: normal
severity: normal
status: open
title: local_clear walks the list of threads without holding head_lock.
type: behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23565>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to