Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(827)

Side by Side Diff: webrtc/base/sigslot.cc

Issue 2877023002: Move webrtc/{base => rtc_base} (Closed)
Patch Set: update presubmit.py and DEPS include rules Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/base/sigslot.h ('k') | webrtc/base/sigslot_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // sigslot.h: Signal/Slot classes
2 //
3 // Written by Sarah Thompson (sarah@telergy.com) 2002.
4 //
5 // License: Public domain. You are free to use this code however you like, with
6 // the proviso that the author takes on no responsibility or liability for any
7 // use.
8
9 #include "webrtc/base/sigslot.h"
10
11 namespace sigslot {
12
13 #ifdef _SIGSLOT_HAS_POSIX_THREADS
14
15 pthread_mutex_t* multi_threaded_global::get_mutex() {
16 static pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER;
17 return &g_mutex;
18 }
19
20 #endif // _SIGSLOT_HAS_POSIX_THREADS
21
22 } // namespace sigslot
OLDNEW
« no previous file with comments | « webrtc/base/sigslot.h ('k') | webrtc/base/sigslot_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698