[Interest] Logging best practice.
robin+qt at viroteck.net
Thu Dec 1 22:50:39 CET 2011
On Thu, Dec 1, 2011 at 10:46 PM, Charley Bay <charleyb123 at gmail.com> wrote:
> That code is not re-entrant, because the "logging object" can be intercepted
> by other threads entering that function.
Not if such objects are local to that thread using QThreadStorage (or
you do other work to make this safe), which I'm pretty sure would be a
requirement for something like this.
More information about the Interest