[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Hooking into garbage collection
- From: Finn Wilcox <finnw@...>
- Date: Mon, 30 Dec 2013 22:44:33 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 30/12/2013 22:38, Rena wrote:
> //we can no longer unlock this->mutex_refcount, so the other thread
> is //going to block forever or segfault
No it is not, because it does not have a reference to the object
(otherwise refcount would not be 0.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSwfdQAAoJEHp3pOlF38H/a8MH/33wb1uMB5ymSZCG2mZRrym2
7PI50hCm8e7OP4G/cy0ZCKQFCR9wRCy98vBLKfnYESpeCx8YtL2Ca+lIclgaJJ8q
XmPOWS6pu6EGjtDQdje6q4kUyagziZglGE4ZnebYU2vra+h82Fk04IipdvCRaGSX
b8okMv0bvyBUZLhJ039hKTcc0f+oUhGEcG8NoOp5ztoRV515zwLDiTSlslPwGkXv
6GC7eA4KmcwxEBAefJujDJvaAan6jUavkavdLJNp7PM0qHzzpd/wGbILCupxeDce
mpl4Lkas5u9OUDPDQz7wrniO73PpHSCkXBzc5LeBZzf3nq+AhJ8Cl1mtu9BmVTM=
=xuR7
-----END PGP SIGNATURE-----