> On Mon, May 11, 2015 at 8:40 AM Pavel Labath <lab...@google.com> wrote:
>> I think the reason is that when you are debugging a race condition,
>> the added synchronization resulting from logging can make the problem
>> go away as soon as you start investigating it, which can be quite
>> annoying.

That is indeed annoying, but I'm not sure that it's worse than the
alternative. You are either unable to reproduce the problem, or unable
to trust the log.

On 11 May 2015 at 11:51, Zachary Turner <ztur...@google.com> wrote:
> If the reason is to avoid those race conditions, perhaps the default value
> should be threadsafe, and the option should disable thread safety.

I still think we should just eliminate the unsafe path, but this would
at least be much better than today.
_______________________________________________
lldb-commits mailing list
lldb-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to