aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/thread.cpp
diff options
context:
space:
mode:
authoromakovski <omakovski@yandex-team.ru>2022-02-10 16:49:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:30 +0300
commit9d2a99f5085a7425ef22831762c8684b687e0500 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/thread.cpp
parent5feb3b4d96aaa42ce546426241c48d626e6d6685 (diff)
downloadydb-9d2a99f5085a7425ef22831762c8684b687e0500.tar.gz
Restoring authorship annotation for <omakovski@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/thread.cpp')
-rw-r--r--util/system/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/thread.cpp b/util/system/thread.cpp
index 34bdb39384..6236746c2d 100644
--- a/util/system/thread.cpp
+++ b/util/system/thread.cpp
@@ -207,7 +207,7 @@ namespace {
TParams* holdP = P_.Release();
int err = pthread_create(&H_, pattrs, ThreadProxy, holdP);
if (err) {
- H_ = {};
+ H_ = {};
P_.Reset(holdP);
PCHECK(err, "failed to create thread");
}