mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 752657: backout sigslot multithreaded due to deadlocks rs=jesup
This commit is contained in:
parent
c9d74f3233
commit
f86cd2d8b1
@ -24,8 +24,6 @@ SRCS_IN_OBJDIR = 1
|
||||
|
||||
EXPORTS_NAMESPACES = mtransport
|
||||
|
||||
DEFINES += -DSIGSLOT_USE_POSIX_THREADS=1
|
||||
|
||||
EXPORTS_mtransport = \
|
||||
../dtlsidentity.h \
|
||||
../nricectx.h \
|
||||
|
@ -91,6 +91,9 @@
|
||||
#include <set>
|
||||
#include <stdlib.h>
|
||||
|
||||
// On our copy of sigslot.h, we set single threading as default.
|
||||
#define SIGSLOT_DEFAULT_MT_POLICY single_threaded
|
||||
|
||||
#if defined(SIGSLOT_PURE_ISO) || (!defined(WIN32) && !defined(__GNUG__) && !defined(SIGSLOT_USE_POSIX_THREADS))
|
||||
# define _SIGSLOT_SINGLE_THREADED
|
||||
#elif defined(WIN32)
|
||||
|
@ -162,7 +162,6 @@
|
||||
'HAVE_UINT16_T=1',
|
||||
'HAVE_UINT32_T=1',
|
||||
'HAVE_UINT64_T=1',
|
||||
'SIGSLOT_USE_POSIX_THREADS=1',
|
||||
],
|
||||
|
||||
'cflags_mozilla': [
|
||||
|
@ -40,7 +40,6 @@ DEFINES = \
|
||||
-DINET=1 \
|
||||
-DINET6=1 \
|
||||
-DSCTP_DEBUG=1 \
|
||||
-DSIGSLOT_USE_POSIX_THREADS=1 \
|
||||
$(NULL)
|
||||
|
||||
ifeq ($(OS_TARGET),WINNT)
|
||||
|
Loading…
Reference in New Issue
Block a user