aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/sem.cpp
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:27 +0300
commit7fe839092527589b38f014d854c51565b3c1adfa (patch)
tree309e97022d3530044b712b8f71318c78faf7856e /util/system/sem.cpp
parentd0d68c395c10da4cb56a1c845504570a04d7893e (diff)
downloadydb-7fe839092527589b38f014d854c51565b3c1adfa.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/sem.cpp')
-rw-r--r--util/system/sem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/sem.cpp b/util/system/sem.cpp
index 4a93b903b5..d7c2bca19c 100644
--- a/util/system/sem.cpp
+++ b/util/system/sem.cpp
@@ -49,12 +49,12 @@ namespace {
class TSemaphoreImpl {
private:
#ifdef _win_
- using SEMHANDLE = HANDLE;
+ using SEMHANDLE = HANDLE;
#else
#ifdef USE_SYSV_SEMAPHORES
- using SEMHANDLE = int;
+ using SEMHANDLE = int;
#else
- using SEMHANDLE = sem_t*;
+ using SEMHANDLE = sem_t*;
#endif
#endif
@@ -76,7 +76,7 @@ namespace {
while (*p) {
if (*p == '\\')
*p = '/';
- ++p;
+ ++p;
}
}
// non-blocking on init