Diff
Modified: trunk/Source/WTF/ChangeLog (161159 => 161160)
--- trunk/Source/WTF/ChangeLog 2013-12-31 00:30:11 UTC (rev 161159)
+++ trunk/Source/WTF/ChangeLog 2013-12-31 00:31:11 UTC (rev 161160)
@@ -1,3 +1,25 @@
+2013-12-30 Sam Weinig <[email protected]>
+
+ Remove WTF's BinarySemaphore
+ https://bugs.webkit.org/show_bug.cgi?id=126310
+
+ Reviewed by Anders Carlsson.
+
+ It's unused. Also remove the now empty wtf/threads directory.
+
+ * GNUmakefile.list.am:
+ * WTF.vcxproj/WTF.vcxproj:
+ * WTF.vcxproj/WTF.vcxproj.filters:
+ * WTF.xcodeproj/project.pbxproj:
+ * wtf/CMakeLists.txt:
+ * wtf/Forward.h:
+ * wtf/PlatformWin.cmake:
+ * wtf/threads: Removed.
+ * wtf/threads/BinarySemaphore.cpp: Removed.
+ * wtf/threads/BinarySemaphore.h: Removed.
+ * wtf/threads/win: Removed.
+ * wtf/threads/win/BinarySemaphoreWin.cpp: Removed.
+
2013-12-30 Roger Fong <[email protected]>
[Windows] Unreviewed build fix following r160959.
Modified: trunk/Source/WTF/GNUmakefile.list.am (161159 => 161160)
--- trunk/Source/WTF/GNUmakefile.list.am 2013-12-31 00:30:11 UTC (rev 161159)
+++ trunk/Source/WTF/GNUmakefile.list.am 2013-12-31 00:31:11 UTC (rev 161160)
@@ -244,8 +244,6 @@
Source/WTF/wtf/text/TextPosition.h \
Source/WTF/wtf/text/WTFString.cpp \
Source/WTF/wtf/text/WTFString.h \
- Source/WTF/wtf/threads/BinarySemaphore.cpp \
- Source/WTF/wtf/threads/BinarySemaphore.h \
Source/WTF/wtf/unicode/CharacterNames.h \
Source/WTF/wtf/unicode/Collator.h \
Source/WTF/wtf/unicode/CollatorDefault.cpp \
Modified: trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj (161159 => 161160)
--- trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj 2013-12-31 00:30:11 UTC (rev 161159)
+++ trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj 2013-12-31 00:31:11 UTC (rev 161160)
@@ -141,8 +141,6 @@
<ClCompile Include="..\wtf\Threading.cpp" />
<ClCompile Include="..\wtf\ThreadingWin.cpp" />
<ClCompile Include="..\wtf\threadspecificWin.cpp" />
- <ClCompile Include="..\wtf\threads\BinarySemaphore.cpp" />
- <ClCompile Include="..\wtf\threads\win\BinarySemaphoreWin.cpp" />
<ClCompile Include="..\wtf\unicode\icu\CollatorICU.cpp" />
<ClCompile Include="..\wtf\unicode\UTF8.cpp" />
<ClCompile Include="..\wtf\win\MainThreadWin.cpp" />
@@ -297,7 +295,6 @@
<ClInclude Include="..\wtf\ThreadRestrictionVerifier.h" />
<ClInclude Include="..\wtf\threadsafeRefCounted.h" />
<ClInclude Include="..\wtf\threadspecific.h" />
- <ClInclude Include="..\wtf\threads\BinarySemaphore.h" />
<ClInclude Include="..\wtf\unicode\CharacterNames.h" />
<ClInclude Include="..\wtf\unicode\Collator.h" />
<ClInclude Include="..\wtf\unicode\icu\UnicodeIcu.h" />
Modified: trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters (161159 => 161160)
--- trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters 2013-12-31 00:30:11 UTC (rev 161159)
+++ trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters 2013-12-31 00:31:11 UTC (rev 161160)
@@ -87,12 +87,6 @@
<ClCompile Include="..\wtf\win\MainThreadWin.cpp">
<Filter>win</Filter>
</ClCompile>
- <ClCompile Include="..\wtf\threads\win\BinarySemaphoreWin.cpp">
- <Filter>threads\win</Filter>
- </ClCompile>
- <ClCompile Include="..\wtf\threads\BinarySemaphore.cpp">
- <Filter>threads</Filter>
- </ClCompile>
<ClCompile Include="..\wtf\threadspecificWin.cpp">
<Filter>wtf</Filter>
</ClCompile>
@@ -321,9 +315,6 @@
<ClInclude Include="..\wtf\text\WTFString.h">
<Filter>text</Filter>
</ClInclude>
- <ClInclude Include="..\wtf\threads\BinarySemaphore.h">
- <Filter>threads</Filter>
- </ClInclude>
<ClInclude Include="..\wtf\threadsafeRefCounted.h">
<Filter>wtf</Filter>
</ClInclude>
Modified: trunk/Source/WTF/WTF.xcodeproj/project.pbxproj (161159 => 161160)
--- trunk/Source/WTF/WTF.xcodeproj/project.pbxproj 2013-12-31 00:30:11 UTC (rev 161159)
+++ trunk/Source/WTF/WTF.xcodeproj/project.pbxproj 2013-12-31 00:31:11 UTC (rev 161160)
@@ -245,8 +245,6 @@
A8A4744D151A825B004123FF /* ThreadingPrimitives.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47335151A825B004123FF /* ThreadingPrimitives.h */; };
A8A4744E151A825B004123FF /* ThreadingPthreads.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A47336151A825B004123FF /* ThreadingPthreads.cpp */; };
A8A47450151A825B004123FF /* ThreadRestrictionVerifier.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47338151A825B004123FF /* ThreadRestrictionVerifier.h */; };
- A8A47451151A825B004123FF /* BinarySemaphore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A4733A151A825B004123FF /* BinarySemaphore.cpp */; };
- A8A47452151A825B004123FF /* BinarySemaphore.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A4733B151A825B004123FF /* BinarySemaphore.h */; };
A8A47454151A825B004123FF /* ThreadSafeRefCounted.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A4733E151A825B004123FF /* ThreadSafeRefCounted.h */; };
A8A47455151A825B004123FF /* ThreadSpecific.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A4733F151A825B004123FF /* ThreadSpecific.h */; };
A8A4745E151A825B004123FF /* CharacterNames.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47349151A825B004123FF /* CharacterNames.h */; };
@@ -521,8 +519,6 @@
A8A47335151A825B004123FF /* ThreadingPrimitives.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThreadingPrimitives.h; sourceTree = "<group>"; };
A8A47336151A825B004123FF /* ThreadingPthreads.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ThreadingPthreads.cpp; sourceTree = "<group>"; };
A8A47338151A825B004123FF /* ThreadRestrictionVerifier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThreadRestrictionVerifier.h; sourceTree = "<group>"; };
- A8A4733A151A825B004123FF /* BinarySemaphore.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = BinarySemaphore.cpp; sourceTree = "<group>"; };
- A8A4733B151A825B004123FF /* BinarySemaphore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BinarySemaphore.h; sourceTree = "<group>"; };
A8A4733E151A825B004123FF /* ThreadSafeRefCounted.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThreadSafeRefCounted.h; sourceTree = "<group>"; };
A8A4733F151A825B004123FF /* ThreadSpecific.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThreadSpecific.h; sourceTree = "<group>"; };
A8A47349151A825B004123FF /* CharacterNames.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CharacterNames.h; sourceTree = "<group>"; };
@@ -644,7 +640,6 @@
1FA47C87152502DA00568D1B /* ios */,
A8A472C4151A825A004123FF /* mac */,
A8A4731B151A825B004123FF /* text */,
- A8A47339151A825B004123FF /* threads */,
A8A47348151A825B004123FF /* unicode */,
A8A4725A151A825A004123FF /* ASCIICType.h */,
A8A4725B151A825A004123FF /* Assertions.cpp */,
@@ -909,15 +904,6 @@
path = text;
sourceTree = "<group>";
};
- A8A47339151A825B004123FF /* threads */ = {
- isa = PBXGroup;
- children = (
- A8A4733A151A825B004123FF /* BinarySemaphore.cpp */,
- A8A4733B151A825B004123FF /* BinarySemaphore.h */,
- );
- path = threads;
- sourceTree = "<group>";
- };
A8A47348151A825B004123FF /* unicode */ = {
isa = PBXGroup;
children = (
@@ -965,7 +951,6 @@
A8A473A9151A825B004123FF /* bignum-dtoa.h in Headers */,
A8A473AB151A825B004123FF /* bignum.h in Headers */,
7CDD7FFA186D2A54007433CD /* IteratorPair.h in Headers */,
- A8A47452151A825B004123FF /* BinarySemaphore.h in Headers */,
A8A4738A151A825B004123FF /* Bitmap.h in Headers */,
A8A4738C151A825B004123FF /* BitVector.h in Headers */,
A8A4738E151A825B004123FF /* BlockStack.h in Headers */,
@@ -1208,7 +1193,6 @@
8134013815B092FD001FF0B8 /* Base64.cpp in Sources */,
A8A473A8151A825B004123FF /* bignum-dtoa.cc in Sources */,
A8A473AA151A825B004123FF /* bignum.cc in Sources */,
- A8A47451151A825B004123FF /* BinarySemaphore.cpp in Sources */,
A8A4738B151A825B004123FF /* BitVector.cpp in Sources */,
A8A473AC151A825B004123FF /* cached-powers.cc in Sources */,
A8A47460151A825B004123FF /* CollatorDefault.cpp in Sources */,
Modified: trunk/Source/WTF/wtf/CMakeLists.txt (161159 => 161160)
--- trunk/Source/WTF/wtf/CMakeLists.txt 2013-12-31 00:30:11 UTC (rev 161159)
+++ trunk/Source/WTF/wtf/CMakeLists.txt 2013-12-31 00:31:11 UTC (rev 161160)
@@ -136,8 +136,6 @@
text/StringImpl.h
text/WTFString.h
- threads/BinarySemaphore.h
-
unicode/CharacterNames.h
unicode/Collator.h
unicode/UTF8.h
@@ -203,8 +201,6 @@
text/StringStatics.cpp
text/WTFString.cpp
- threads/BinarySemaphore.cpp
-
unicode/UTF8.cpp
)
@@ -212,7 +208,6 @@
"${WTF_DIR}"
"${WTF_DIR}/wtf"
"${WTF_DIR}/wtf/dtoa"
- "${WTF_DIR}/wtf/threads"
"${WTF_DIR}/wtf/unicode"
"${THIRDPARTY_DIR}"
"${CMAKE_BINARY_DIR}"
Modified: trunk/Source/WTF/wtf/Forward.h (161159 => 161160)
--- trunk/Source/WTF/wtf/Forward.h 2013-12-31 00:30:11 UTC (rev 161159)
+++ trunk/Source/WTF/wtf/Forward.h 2013-12-31 00:31:11 UTC (rev 161160)
@@ -38,7 +38,6 @@
class AtomicString;
class AtomicStringImpl;
-class BinarySemaphore;
class CString;
class Decoder;
class Encoder;
@@ -52,7 +51,6 @@
using WTF::AtomicString;
using WTF::AtomicStringImpl;
-using WTF::BinarySemaphore;
using WTF::CString;
using WTF::Decoder;
using WTF::Encoder;
Modified: trunk/Source/WTF/wtf/PlatformWin.cmake (161159 => 161160)
--- trunk/Source/WTF/wtf/PlatformWin.cmake 2013-12-31 00:30:11 UTC (rev 161159)
+++ trunk/Source/WTF/wtf/PlatformWin.cmake 2013-12-31 00:31:11 UTC (rev 161160)
@@ -1,6 +1,4 @@
list(APPEND WTF_SOURCES
- threads/win/BinarySemaphoreWin.cpp
-
win/MainThreadWin.cpp
win/RunLoopWin.cpp
)