Files
platform-external-webrtc/rtc_base
Taylor Brandstetter 0867260590 Fixing data race on vptr of Thread subclasses.
Thread's constructor calls DoInit, which registers itself with the
MessageQueueManager. This could result in the vptr being read before
the subclass has had a chance to modify it (for example, if another
thread happens to call MessageQueueManager::Clear at the right time).

This is exactly why there's a "DoInit" method, which is intended to be
called by the fully instantiated subclass. This was being done between
MessageQueue/Thread, but not between Thread and its subclasses.

Bug: webrtc:3911
Change-Id: I94d8855da56d9aaf22470ddca12d0b1dd5de249d
Reviewed-on: https://webrtc-review.googlesource.com/59466
Reviewed-by: Bjorn Mellem <mellem@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22297}
2018-03-05 20:09:20 +00:00
..
2018-02-13 10:47:24 +00:00
2017-11-25 19:03:41 +00:00
2017-11-27 13:56:22 +00:00
2018-01-25 19:12:14 +00:00
2017-12-18 08:44:43 +00:00
2017-12-18 08:44:43 +00:00
2018-02-15 16:10:15 +00:00
2018-02-15 16:10:15 +00:00