aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/jemalloc/hack.cpp
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-05-08 23:58:24 +0300
committerthegeorg <thegeorg@yandex-team.ru>2022-05-08 23:58:24 +0300
commitf4f3e4024a1f32bd0bc3fa20239025a1b179e42d (patch)
treeb9849b312dfaed13d937b7c82ce4d0c63a18b084 /contrib/libs/jemalloc/hack.cpp
parentf6f01d5f4830e22efd8d2a5806f4ed13de4fe5b3 (diff)
downloadydb-f4f3e4024a1f32bd0bc3fa20239025a1b179e42d.tar.gz
jemalloc: For the further improvement of patching
ref:6883a616f4e2679f806b9b9e1d0f9fa693ab7467
Diffstat (limited to 'contrib/libs/jemalloc/hack.cpp')
-rw-r--r--contrib/libs/jemalloc/hack.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/contrib/libs/jemalloc/hack.cpp b/contrib/libs/jemalloc/hack.cpp
deleted file mode 100644
index 900856d3534..00000000000
--- a/contrib/libs/jemalloc/hack.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "hack.h"
-
-#include <util/system/yield.cpp>
-#include <util/system/spinlock.cpp>
-
-#include "spinlock.h"
-
-void SPIN_L(spinlock_t* l) {
- AcquireAdaptiveLock(l);
-}
-
-void SPIN_U(spinlock_t* l) {
- ReleaseAdaptiveLock(l);
-}