From 6b3d35fce341c09593ee7f3c6e0a00f34c7a7380 Mon Sep 17 00:00:00 2001 From: Adam Simpkins Date: Thu, 11 Dec 2014 13:40:27 -0800 Subject: [PATCH] remove PortableSpinLock.h 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 | 1 - folly/io/PortableSpinLock.h | 31 ------------------------------- 2 files changed, 32 deletions(-) delete mode 100644 folly/io/PortableSpinLock.h diff --git a/folly/Makefile.am b/folly/Makefile.am index 944fd36f..4c953b0e 100644 --- a/folly/Makefile.am +++ b/folly/Makefile.am @@ -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 index 7b86aa00..00000000 --- a/folly/io/PortableSpinLock.h +++ /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 - -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; - -}} -- 2.34.1