Files
platform-external-webrtc/webrtc/base
nisse 7866cfe575 Move autowrap from ThreadManager constructor to Thread::Current.
This is in preparation for a WrapCurrentThread method,
or AutoThread constructor, taking a socket
server as argument, to eliminate the need for the
MessageQueue::set_socketserver method and its lock.

No intended change in behaviour; the ThreadManager constructor
records the calling thread id, and autowrap is still restricted to
that thread. Behavior when NO_MAIN_THREAD_WRAPPING is defined is
also unchanged.

Also makes the ThreadManager a singleton, with private constructor
and destructor. And marks its destructor as RTC_NOTREACHED, since
by the documentation for RTC_DEFINE_STATIC_LOCAL, the intention is to
leak the object and never destruct it.

BUG=webrtc:7501

Review-Url: https://codereview.webrtc.org/2833993003
Cr-Commit-Position: refs/heads/master@{#17879}
2017-04-26 08:45:31 +00:00
..
2016-12-14 23:03:11 +00:00
2016-12-14 23:03:11 +00:00
2015-12-28 22:07:05 +00:00
2015-12-28 22:07:05 +00:00
2016-08-16 13:38:23 +00:00
2017-03-27 11:37:14 +00:00
2016-07-01 10:45:29 +00:00
2016-02-02 16:34:16 +00:00
2017-04-11 05:44:07 +00:00
2017-03-15 11:36:29 +00:00
2017-03-15 11:36:29 +00:00
2017-04-10 13:56:58 +00:00
2016-10-03 07:30:08 +00:00