Reland the base->rtc_base without adding stub headers (will be done in follow-up CL). This preserves git blame history of all files. BUG=webrtc:7634 NOTRY=True TBR=kwiberg@webrtc.org Change-Id: Iea3bb6f3f67b8374c96337b63e8f5aa3e6181012 Reviewed-on: https://chromium-review.googlesource.com/554611 Reviewed-by: Henrik Kjellander <kjellander@webrtc.org> Cr-Commit-Position: refs/heads/master@{#18821}
23 lines
554 B
C++
23 lines
554 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/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
|