]> granicus.if.org Git - python/commit
Issue #13992: The trashcan mechanism is now thread-safe. This eliminates
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 5 Sep 2012 23:17:42 +0000 (01:17 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 5 Sep 2012 23:17:42 +0000 (01:17 +0200)
commit5b4faae30748c09930fa053442e1d6ff2823823c
tree8372fb8975488a6cb3fb5295ef52badfb31aa93d
parent11946fbe804d99d26724e65dcb061cda6666c4e9
parent56cd62c04a7fbd9d923de000e6e6734cf8ac9ddc
Issue #13992: The trashcan mechanism is now thread-safe.  This eliminates
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.

Note that the trashcan functions are part of the stable ABI, therefore
they have to be kept around for binary compatibility of extensions.
Include/object.h
Include/pystate.h
Lib/test/test_gc.py
Misc/NEWS
Objects/object.c
Objects/typeobject.c
Python/pystate.c