8c38e8b9b96d72317d6ce94c1442113b4e385dcb |
|
26-Nov-2015 |
Peter Boström <pbos@webrtc.org> |
Clean up PlatformThread. * Move PlatformThread to rtc::. * Remove ::CreateThread factory method. * Make non-scoped_ptr from a lot of invocations. * Make Start/Stop void. * Remove rtc::Thread priorities, which were unused and would collide. * Add ::IsRunning() to PlatformThread. BUG= R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1476453002 . Cr-Commit-Position: refs/heads/master@{#10812}
/external/webrtc/webrtc/base/thread.h
|
0c4e06b4c6107a1b94f764e279e4fb4161e905b0 |
|
07-Oct-2015 |
Peter Boström <pbos@webrtc.org> |
Use suffixed {uint,int}{8,16,32,64}_t types. Removes the use of uint8, etc. in favor of uint8_t. BUG=webrtc:5024 R=henrik.lundin@webrtc.org, henrikg@webrtc.org, perkj@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org, tina.legrand@webrtc.org Review URL: https://codereview.webrtc.org/1362503003 . Cr-Commit-Position: refs/heads/master@{#10196}
/external/webrtc/webrtc/base/thread.h
|
3c089d751ede283e21e186885eaf705c3257ccd2 |
|
16-Sep-2015 |
henrikg <henrikg@webrtc.org> |
Add RTC_ prefix to contructormagic macros. We must remove dependency on Chromium, i.e. we can't use Chromium's base/logging.h. That means we need to define these macros in WebRTC also when doing Chromium builds. And this causes redefinition. * DISALLOW_ASSIGN -> RTC_DISALLOW_ASSIGN * DISALLOW_COPY_AND_ASSIGN -> RTC_DISALLOW_COPY_AND_ASSIGN * DISALLOW_IMPLICIT_CONSTRUCTORS -> RTC_DISALLOW_IMPLICIT_CONSTRUCTORS Related CL: https://codereview.webrtc.org/1335923002/ BUG=chromium:468375 NOTRY=true Review URL: https://codereview.webrtc.org/1345433002 Cr-Commit-Position: refs/heads/master@{#9953}
/external/webrtc/webrtc/base/thread.h
|
7c64ed2e0c55d6402ef24a822b18fc9e6cc11299 |
|
17-Mar-2015 |
tommi@webrtc.org <tommi@webrtc.org> |
Move trace_event and associated files to webrtc/base. Also starting to use TRACE_EVENT from thread.cc in webrtc/base, to track Invoke() calls. BUG= R=magjed@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/42769004 Cr-Commit-Position: refs/heads/master@{#8755} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8755 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|
67186fe00cc68cbe03aa66d17fb4962458ca96d2 |
|
09-Mar-2015 |
kwiberg@webrtc.org <kwiberg@webrtc.org> |
Fix clang style warnings in webrtc/base Mostly this consists of marking functions with override when applicable, and moving function bodies from .h to .cc files. Not inlining virtual functions with simple bodies such as { return false; } strikes me as probably losing more in readability than we gain in binary size and compilation time, but I guess it's just like any other case where enabling a generally good warning forces us to write slightly worse code in a couple of places. BUG=163 R=kjellander@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/47429004 Cr-Commit-Position: refs/heads/master@{#8656} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8656 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|
53d9012faf32eb711681fdeb31b9d0d2f9e9481b |
|
09-Feb-2015 |
andresp@webrtc.org <andresp@webrtc.org> |
Clean kForever from basictypes and move it to the interfaces that actually have it. R=tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/33269004 Cr-Commit-Position: refs/heads/master@{#8296} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8296 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|
e30dab77dfaf4a156b50c899246c3734152d11b2 |
|
09-Oct-2014 |
henrike@webrtc.org <henrike@webrtc.org> |
base/thread_unittest: wrap test was setting current thread to NULL. This broke unittests following ThreadTest.Wrap BUG=3836 R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/28689004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7413 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|
7dfb7fa189701a57ad6399ad1472d6edd28b087c |
|
30-Sep-2014 |
jiayl@webrtc.org <jiayl@webrtc.org> |
Reland disallowing blocking calls on the worker thread. This fixed the issue that invoking the call when the thread is not started. BUG=3559 R=juberti@webrtc.org, thorcarpenter@google.com Review URL: https://webrtc-codereview.appspot.com/24769004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7325 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|
3987b6de506a7e72a5bdfdf8c8ad9964705c5a28 |
|
24-Sep-2014 |
jiayl@webrtc.org <jiayl@webrtc.org> |
Fix a problem in Thread::Send. Previously if thread A->Send is called on thread B, B->ReceiveSends will be called, which enables an arbitrary thread to invoke calls on B while B is wait for A->Send to return. This caused mutliple problems like issue 3559, 3579. The fix is to limit B->ReceiveSends to only process requests from A. Also disallow the worker thread invoking other threads. BUG=3559 R=juberti@webrtc.org Review URL: https://webrtc-codereview.appspot.com/15089004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7290 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|
ba737cba1aa6607911b1ca10460423b4c3e51fb9 |
|
18-Sep-2014 |
jiayl@webrtc.org <jiayl@webrtc.org> |
Do not require synchronization access on the thread if called from rtc::Thread::WrapCurrent. The synchronization access is unnecessary for rtc::Thread::WrapCurrent (called from JingleThreadWrapper) since JingleThreadWrapper never calls rtc::Thread::Stop or rtc::Thread::Join. Failing to get the access caused crashes in Chrome since rtc::Thread::Current will be NULL when rtc::Thread::WrapCurrent fails. rtc::ThreadManager::WrapCurrentThread still requires the synchronization access, since I am not sure if the callers (e.g. the plugin) depends on it. BUG=crbug/413853 R=juberti@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/30429004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7224 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|
42fe4350fed39bcfe5e490a7b82c207862555f2e |
|
15-Jul-2014 |
tkchin@webrtc.org <tkchin@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Remove Thread::RunningForChannelManager(). I haven't heard of this failing, so it should be safe to remove. Let me know if this isn't the case. BUG=3388 R=andrew@webrtc.org, wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/18659004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6695 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|
92a9bacf9aeadf5f845bf464fdbc49e37b4ca21c |
|
15-Jul-2014 |
henrike@webrtc.org <henrike@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Rebase webrtc/base with r6682 version of talk/base: cls ported: r6671, r6672, r6679 (reverts and unreverts in r6680, r6682). svn diff -r 6656:6682 http://webrtc.googlecode.com/svn/trunk/talk/base > 6682.diff sed -i.bak "s/talk_base/rtc/g" 6682.diff sed -i.bak "s/#ifdef WIN32/#if defined(WEBRTC_WIN)/g" 6682.diff sed -i.bak "s/#if defined(WIN32)/#if defined(WEBRTC_WIN)/g" 6682.diff patch -p0 -i 6682.diff BUG=3379 TBR=tommi@webrtc.org,jiayl@webrtc.org Review URL: https://webrtc-codereview.appspot.com/14969004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6683 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|
e5063b173303e9ee6c2246d2aa42a1480902b867 |
|
23-May-2014 |
fischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Thread: delete racy API (Release()) and fix racy code (started()). - Thread::Release() wrote a local variable on the calling thread but read it on another thread, with no synchronization. Happily it has no non-test callers so deleting it instead of trying to fix it (see bug for details). - Thread::started_ similarly was racily being written to; replaced with a running_ Event, and hid the accessor except for tests & legacy callers, with a note about why it's a bad idea. webrtc/base patched with: git diff origin --relative=talk/base | patch -p1 -dwebrtc/base followed by manual merge of 3 thunks that ran afoul of naming differences between talk/base and webrtc/base. BUG=3388 R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/14589005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6236 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|
f048872e915a3ee229044ec4bc541f6cbf9e4de1 |
|
13-May-2014 |
henrike@webrtc.org <henrike@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Adds a modified copy of talk/base to webrtc/base. It is the first step in migrating talk/base to webrtc/base. BUG=N/A R=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/17479005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6129 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|
e9a604accd54ab14dbf98f99ccdcf3ae1c54d27c |
|
13-May-2014 |
perkj@webrtc.org <perkj@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Revert 6107 "Adds a modified copy of talk/base to webrtc/base. I..." This breaks Chromium FYI builds and prevent roll of webrtc/libjingle to Chrome. http://chromegw.corp.google.com/i/chromium.webrtc.fyi/builders/Win%20Builder/builds/457 > Adds a modified copy of talk/base to webrtc/base. It is the first step in migrating talk/base to webrtc/base. > > BUG=N/A > R=andrew@webrtc.org, wu@webrtc.org > > Review URL: https://webrtc-codereview.appspot.com/12199004 TBR=henrike@webrtc.org Review URL: https://webrtc-codereview.appspot.com/14479004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6116 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|
2c7d1b39b9374d2bc9bda4755fd4813db66a135c |
|
12-May-2014 |
henrike@webrtc.org <henrike@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Adds a modified copy of talk/base to webrtc/base. It is the first step in migrating talk/base to webrtc/base. BUG=N/A R=andrew@webrtc.org, wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/12199004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6107 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/base/thread.h
|