
11 Feb
2007
11 Feb
'07
11:41 p.m.
Frank Mori Hess wrote:
However, you should be able to get concurrent signal invocation even with a single mutex once boost supports a recursive_read_write_mutex, right? Yes, that would be possible at the expense of copying the combiner for the invocation, which is acceptable and parameterizable through the ThreadingModel anyway.
I copy a shared_ptr to the combiner in the invocation, so a new full copy only gets made in set_combiner().
Yes, I saw that. You probably know that already, but the shared_ptr reference counting is a relatively expensive operation. Copying a last_value<> instance locally is a no-op on the other hand. Regards Timmo Stange