I used a command like this to update the paths: perl -pi -e "s/webrtc\/base/webrtc\/rtc_base/g" `find webrtc/rtc_base -name "*.cc" -o -name "*.h"` Changes since last attempt: Some system headers were moved back to their original location since on Windows compilation breaks otherwise. BUG=webrtc:7634 NOTRY=True NOPRESUBMIT=True TBR=kwiberg@webrtc.org Review-Url: https://codereview.webrtc.org/2966523003 Cr-Commit-Position: refs/heads/master@{#18868}
23 lines
558 B
C++
23 lines
558 B
C++
// sigslot.h: Signal/Slot classes
|
|
//
|
|
// Written by Sarah Thompson (sarah@telergy.com) 2002.
|
|
//
|
|
// License: Public domain. You are free to use this code however you like, with
|
|
// the proviso that the author takes on no responsibility or liability for any
|
|
// use.
|
|
|
|
#include "webrtc/rtc_base/sigslot.h"
|
|
|
|
namespace sigslot {
|
|
|
|
#ifdef _SIGSLOT_HAS_POSIX_THREADS
|
|
|
|
pthread_mutex_t* multi_threaded_global::get_mutex() {
|
|
static pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER;
|
|
return &g_mutex;
|
|
}
|
|
|
|
#endif // _SIGSLOT_HAS_POSIX_THREADS
|
|
|
|
} // namespace sigslot
|