commit | a8a351599788f346a2265cfcd3da9a06f577de7f | [log] [tgz] |
---|---|---|
author | tommi <tommi@webrtc.org> | Thu Jul 13 05:47:25 2017 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 13 12:47:25 2017 +0000 |
tree | 1d4ac4a60060351855fa2b3bc9137474df8f7fa0 | |
parent | abcf112ae0e040f94953e20bec86574f18d5a508 [diff] |
Make the default ctor of rtc::Thread, protected. The goal is to force use of Thread::Create or Thread::CreateWithSocketServer. The default constructor constructs a 'default' socket server, which is usually a 'physical' socket server, but not always. Not every instance of Thread actually needs to have network support, so it's better to have this be explicit instead of unknowingly instantiate one. BUG=none Review-Url: https://codereview.webrtc.org/2981623002 Cr-Commit-Position: refs/heads/master@{#19001}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.