On Saturday, 29 November 2014 at 14:15:12 UTC, Martin Nowak wrote:
On Friday, 14 November 2014 at 21:49:09 UTC, David Nadlinger wrote:
On Friday, 14 November 2014 at 21:46:00 UTC, Robert burner Schadek wrote:
You can always roll your own non locking Logger, but the default should be thread-safe.

You can't, since you need to inherit from Logger, which already does the locking for you in a way that's not overridable. Also, I take it you are familiar with the fact that locks aren't the only technique for achieving cross-thread synchronization.


Have you guys resolved this? If we cannot implement a non-locking logger than that's a blocking issue for the library.

Yes, there is a lock free, thread local indirection now. That can be used to build a lock free, thread local logger.

p.s. You should have taken the phun

Reply via email to