Description[Telemetry] Fix a few more potential deadlocks.
This builds on https://codereview.chromium.org/385653002/ .
Many functions in Python's logging module grab a lock internally. Some
appear to do so before converting the provided message to a string via
its __str__ method.
Calling an object's __str__ method before calling a logging funciton
allows anything called by the __str__ method to log without the risk of
hitting a deadlock.
BUG=392869
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282485
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|