StreamTee doesn't need a recursive_mutex so let's use a normal mutex instead.
Also gets rid of some micro-optimizations.
Still passes the test suite and the newly added unit test.
Paths
| Differential D49713
Replace StreamTee's recursive_mutex with a normal mutex. Needs ReviewPublic Authored by teemperor on Jul 23 2018, 6:41 PM.
Details
Diff Detail Event TimelineComment Actions Adding Greg because he seem to be the one who added the lock. I think it's also worth investigating why this lock is there in the first place (as other Stream implementations are not thread safe, but this one is?)
Revision Contents
Diff 156940 include/lldb/Utility/StreamTee.h
|