
3 Nov
2008
3 Nov
'08
8:31 p.m.
Frank Mori Hess wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Monday 03 November 2008 13:54 pm, Johan Råde wrote:
What is the rationale for ditching boost::trackable?
It's not thread-safe. I'm not opposed to including an implementation of it for backwards compatibility though. It does seem like a less painful porting path for single-threaded code should be provided.
Yes, the code I'm working on contains 411 calls to connect (I just counted them), all of them managed using trackable, so porting to signals2 would be a head ache. Most, but not all, of the objects are managed using shared pointers. There are also scoped pointers, plain pointers and QPointers. --Johan