remove PortableSpinLock.h
authorAdam Simpkins <simpkins@fb.com>
Thu, 11 Dec 2014 21:40:27 +0000 (13:40 -0800)
committerJoelMarcey <joelm@fb.com>
Thu, 18 Dec 2014 20:29:40 +0000 (12:29 -0800)
Summary:
Remove the PortableSpinLock header file now that all call sites have
been migrated to the new SpinLock name.

Test Plan: Built and ran unit tests for folly, thrift, and proxygen.

Reviewed By: seanc@fb.com

Subscribers: trunkagent, doug, net-systems@, exa, folly-diffs@

FB internal diff: D1734685

Signature: t1:1734685:1418335405:e834f64d7282393e942a1de3638f4cf67410eaab

folly/Makefile.am
folly/io/PortableSpinLock.h [deleted file]

index 944fd36fafb08be3396ac12cda53ccd3f7a1416f..4c953b0e3d907c254c56eb739e9a445fc1f72e41 100644 (file)
@@ -152,7 +152,6 @@ nobase_follyinclude_HEADERS = \
        io/Cursor.h \
        io/IOBuf.h \
        io/IOBufQueue.h \
-       io/PortableSpinLock.h \
        io/RecordIO.h \
        io/RecordIO-inl.h \
        io/TypedIOBuf.h \
diff --git a/folly/io/PortableSpinLock.h b/folly/io/PortableSpinLock.h
deleted file mode 100644 (file)
index 7b86aa0..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright 2014 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#pragma once
-
-#include <folly/SpinLock.h>
-
-namespace folly { namespace io {
-
-// These are temporary typedefs to ease the transition from
-// folly::io::PortableSpinLock to folly::SpinLock.
-//
-// I will remove these in a separate diff after updating all call sites
-// that use PortableSpinLock.
-typedef ::folly::SpinLock PortableSpinLock;
-typedef ::folly::SpinLockGuard PortableSpinLockGuard;
-
-}}