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/modules/utility/source/process_thread_impl.h
|
12411ef40e08c5e28ccde54ab3418c96676ffcbc |
|
23-Nov-2015 |
pbos <pbos@webrtc.org> |
Move ThreadWrapper to ProcessThread in base. Also removes all virtual methods. Permits using a thread from rtc_base_approved (namely event tracing). BUG=webrtc:5158 R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1469013002 Cr-Commit-Position: refs/heads/master@{#10760}
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
ff761fba8274d93bd73e76c8b8a1f2d0776dd840 |
|
04-Nov-2015 |
Henrik Kjellander <kjellander@webrtc.org> |
modules: more interface -> include renames This changes the following module directories: * webrtc/modules/audio_conference_mixer/interface * webrtc/modules/interface * webrtc/modules/media_file/interface * webrtc/modules/rtp_rtcp/interface * webrtc/modules/utility/interface To avoid breaking downstream, I followed this recipe: 1. Copy the interface dir to a new sibling directory: include 2. Update the header guards in the include directory to match the style guide. 3. Update the header guards in the interface directory to match the ones in include. This is required to avoid getting redefinitions in the not-yet-updated downstream code. 4. Add a pragma warning in the header files in the interface dir. Example: #pragma message("WARNING: webrtc/modules/interface is DEPRECATED; " "use webrtc/modules/include") 5. Search for all source references to webrtc/modules/interface and update them to webrtc/modules/include (*.c*,*.h,*.mm,*.S) 6. Update all GYP+GN files. This required manual inspection since many subdirectories of webrtc/modules referenced the interface dir using ../interface etc(*.gyp*,*.gn*) BUG=5095 TESTED=Passing compile-trybots with --clobber flag: git cl try --clobber --bot=win_compile_rel --bot=linux_compile_rel --bot=android_compile_rel --bot=mac_compile_rel --bot=ios_rel -m tryserver.webrtc R=stefan@webrtc.org, tommi@webrtc.org Review URL: https://codereview.webrtc.org/1417683006 . Cr-Commit-Position: refs/heads/master@{#10500}
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
98f53510b222f71fdd8b799b2f33737ceeb28c61 |
|
28-Oct-2015 |
Henrik Kjellander <kjellander@webrtc.org> |
system_wrappers: rename interface -> include BUG=webrtc:5095 R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1413333002 . Cr-Commit-Position: refs/heads/master@{#10438}
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
2b18084d40261a356b377dd6aa4a5bd8bdd2a285 |
|
14-Sep-2015 |
stefan <stefan@webrtc.org> |
Only allow static strings as ProcessThread names. Review URL: https://codereview.webrtc.org/1336293002 Cr-Commit-Position: refs/heads/master@{#9932}
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
847855b865987524be768c7771959f927db25808 |
|
11-Sep-2015 |
stefan <stefan@webrtc.org> |
Add a name to the ProcessThread constructor. Helps differentiate between different instances when debugging. Review URL: https://codereview.webrtc.org/1337003003 Cr-Commit-Position: refs/heads/master@{#9927}
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
03054486f52d80b69af787c3ef8d855a72349203 |
|
05-Mar-2015 |
tommi@webrtc.org <tommi@webrtc.org> |
Adding basic support for posting tasks to a process thread. BUG= R=magjed@webrtc.org Review URL: https://webrtc-codereview.appspot.com/41099004 Cr-Commit-Position: refs/heads/master@{#8614} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8614 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
3985f0151aff9b91418733795a98140079c19a73 |
|
27-Feb-2015 |
tommi@webrtc.org <tommi@webrtc.org> |
ProcessThread improvements. * Added a way to notify a Module that it's been attached to a ProcessThread. The benefit of this is to give the module a way to wake up the thread when it needs work to happen on the worker thread, immediately. Today, module instances are typically registered with a process thread outside the control of the modules themselves. I.e. they typically don't know about the process thread they're attached to. * Improve ProcessThread's WakeUp algorithm to not call TimeUntilNextProcess when a WakeUp call is requested. This is an optimization for the above case which avoids the module having to acquire a lock or do an interlocked operation before calling WakeUp(), which would ensure the module's TimeUntilNextProcess() implementation would return 0. BUG=2822 R=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/39239004 Cr-Commit-Position: refs/heads/master@{#8527} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8527 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
103f3289b5a8590bc6c08f0de348f83d3d3e0261 |
|
08-Feb-2015 |
tommi@webrtc.org <tommi@webrtc.org> |
Fix the binary layout of ProcessThreadImpl. We apparently hit an obscure problem on mac where seemingly an unaligned mutex causes memory corruption. The effect was that the |modules_| list became corrupt and we crashed. At this point I'm not exactly sure what the alignment requirements are but for now, I've fixed up the layout in a way that doesn't cause these same issues. I'm also changing auto->proper type at the request of drive by reviewers from my previous cl in the same file. TBR=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/38989004 Cr-Commit-Position: refs/heads/master@{#8286} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8286 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
0c3e12b7bfb26b9060be67ded53068acd3444ab8 |
|
06-Feb-2015 |
tommi@webrtc.org <tommi@webrtc.org> |
Revamp the ProcessThreadImpl implementation. * Add a new WakeUp method that gives a module a chance to be called back right away on the worker thread. * Wrote unit tests for the class. * Significantly reduce the amount of locking. - ProcessThreadImpl itself does a lot less locking. - Reimplemented the way we keep track of when to make calls to Process. This reduces the amount of calls to TimeUntilNextProcess and since most implementations of that function grab a lock, this means less locking. * Renamed ProcessThread::CreateProcessThread to ProcessThread::Create. * Added thread checks for Start/Stop. Threading model of other functions is now documented. * We now log an error if an implementation of TimeUntilNextProcess returns a negative value (some implementations do, but the method should only return a positive nr of ms). * Removed the DestroyProcessThread method and instead force callers to use scoped_ptr<> to maintain object lifetime. BUG=2822 R=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/35999004 Cr-Commit-Position: refs/heads/master@{#8261} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8261 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
79cf3acc79475ef05cfc984dc166463de79cc44a |
|
13-Jan-2014 |
henrike@webrtc.org <henrike@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Removes usage of ListWrapper from several files. BUG=2164 R=andrew@webrtc.org, pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/6269004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5373 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
8b06200802b0c155d112d4a5bf6da5dfb0c0cbec |
|
12-Jul-2013 |
pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Include files from webrtc/.. paths in utility/. BUG=1662 R=henrike@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1786004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4336 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
d900e8bea84c474696bf0219aed1353ce65ffd8e |
|
03-Jul-2013 |
pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Proper spacing for end-of-namespace comments. BUG= R=mflodman@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1760006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4293 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
c75102eba7ceb57f76a2e9c140dac123896a6d0b |
|
09-Apr-2013 |
pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
WebRtc_Word32 -> int32_t in utility/ BUG=314 Review URL: https://webrtc-codereview.appspot.com/1307005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3797 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|
14b43beb7ce4440b30dcea31196de5b4a529cb6b |
|
22-Oct-2012 |
andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Move src/ -> webrtc/ TBR=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/915006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2963 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/utility/source/process_thread_impl.h
|