Harald Alvestrand 7e1db52c93 Add thread guards to JsepTransport
This ensures that JsepTransport's methods are either only accessed on the thread
that creates it, or using methods that are marked for off-thread use
(using a lock to prevent simultaneous access).

The intent is to document the existing contract, and to make it easy to find the
actions needed to convert the class to a pure single-threaded class.

Bug: webrtc:10300
Change-Id: Ib5cdc027632c36baec55179937d6eb664bbaf6f5
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/121946
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27427}
2019-04-02 21:49:36 +00:00
..
2019-01-28 11:17:00 +00:00
2019-03-01 20:32:16 +00:00
2019-02-20 16:02:59 +00:00
2019-03-01 20:32:16 +00:00