[Lldb-commits] [lldb] r236892 - Enable thread-safe logging.

Zachary Turner zturner at google.com
Mon May 11 08:23:20 PDT 2015


+greg. I'm not sure either tbh, if there's no contention the cost of
acquiring the mutex should be free, and if there is contention then the
lock is required.
On Mon, May 11, 2015 at 7:29 AM Ed Maste <emaste at freebsd.org> wrote:

> On 8 May 2015 at 14:50, Zachary Turner <zturner at google.com> wrote:
> > Author: zturner
> > Date: Fri May  8 13:50:54 2015
> > New Revision: 236892
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=236892&view=rev
> > Log:
> > Enable thread-safe logging.
>
> Thanks for fixing this up Zach.
>
> This raises a question though, going back to the original introduction
> of logging support -- why is this an option at all, never mind a user
> facing option? It's particularly odd that we default to thread-safe,
> unless any other options are specified. It seems to me we should just
> remove the thread-unsafe path.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150511/0d861aa1/attachment.html>


More information about the lldb-commits mailing list