commit | 61abe1582915fb25fe3f231d7d2c9a174c0e3e6b | [log] [tgz] |
---|---|---|
author | kthelgason <kthelgason@webrtc.org> | Wed Mar 29 02:32:36 2017 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Mar 29 09:32:36 2017 +0000 |
tree | 3f5d679853a2d5e30027747c3d2d1eac3496655e | |
parent | 0f0a849cba51ae68e508c04f4abac9e36fbbeb05 [diff] |
Add Darwin thread.h implementation. Due to quirks of the Cocoa runtime several platform-specific fixes were in place. See the deleted files maccocoathreadhelper and scoped_autorelease_pool for examples. There is no way to do a stack-based RAII autoreleasepool that is compatible with ARC, and autoreleasepool blocks can't be used with c++. The solution was to separate out the implementation of some methods in thread.h to an ObjC++ file for Darwin platforms, allowing us to get rid of the helper classes and enable ARC everywhere. BUG=webrtc:6412 Review-Url: https://codereview.webrtc.org/2784483002 Cr-Commit-Position: refs/heads/master@{#17436}
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.