Rewrite IThreader implementation around new synchronization primitives (bug 5862, r=fyren).

This commit is contained in:
David Anderson
2013-08-19 20:58:02 -07:00
parent 582162460f
commit 45856816c1
15 changed files with 212 additions and 542 deletions
+1
View File
@@ -163,6 +163,7 @@ class SM:
self.compiler.AddToListVar('CXXFLAGS', '-fno-threadsafe-statics')
self.compiler.AddToListVar('CXXFLAGS', '-Wno-non-virtual-dtor')
self.compiler.AddToListVar('CXXFLAGS', '-Wno-overloaded-virtual')
self.compiler.AddToListVar('CXXFLAGS', '-Wno-narrowing')
if (self.vendor == 'gcc' and cxx.majorVersion >= 4 and cxx.minorVersion >= 7) or \
(self.vendor == 'clang' and cxx.majorVersion >= 3):
self.compiler.AddToListVar('CXXFLAGS', '-Wno-delete-non-virtual-dtor')