You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
571 B
23 lines
571 B
// 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 "rtc_base/third_party/sigslot/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
|