
1) Change AsyncSocket's SignalReadEvent and SignalWriteEvent's thread mode to multi_threaded_local as they can be accessed from different threads. 2) Protect NATServer::TransEntry::whitelist. 3) Protect PhysicalSocket:error_. Detail failures can be seen from issue 2080, comment #5. TBR=fischman@webrtc.org RISK=P1 TEST=try bots and tsanv2 BUG=2080 Review URL: https://webrtc-codereview.appspot.com/2669005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5026 4adac7df-926f-26a2-2b94-8c16560cd09d