summaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/core/scheduler_basic.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <[email protected]>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/actors/core/scheduler_basic.cpp
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/actors/core/scheduler_basic.cpp')
-rw-r--r--library/cpp/actors/core/scheduler_basic.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/actors/core/scheduler_basic.cpp b/library/cpp/actors/core/scheduler_basic.cpp
index fba200e16bf..985d411db57 100644
--- a/library/cpp/actors/core/scheduler_basic.cpp
+++ b/library/cpp/actors/core/scheduler_basic.cpp
@@ -94,7 +94,7 @@ namespace NActors {
while (!!activeSec && !activeSec->empty()) {
TMomentMap::iterator it = activeSec->begin();
if (it->first <= throttledMonotonic) {
- if (NSchedulerQueue::TQueueType* q = it->second.Get()) {
+ if (NSchedulerQueue::TQueueType* q = it->second.Get()) {
while (NSchedulerQueue::TEntry* x = q->Reader.Pop()) {
somethingDone = true;
Y_VERIFY_DEBUG(x->InstantMicroseconds <= activeTick);
@@ -151,18 +151,18 @@ namespace NActors {
if (instant <= activeTick) {
if (!activeSec)
activeSec.Reset(new TMomentMap());
- TAutoPtr<NSchedulerQueue::TQueueType>& queue = (*activeSec)[instant];
+ TAutoPtr<NSchedulerQueue::TQueueType>& queue = (*activeSec)[instant];
if (!queue)
- queue.Reset(new NSchedulerQueue::TQueueType());
+ queue.Reset(new NSchedulerQueue::TQueueType());
queue->Writer.Push(instant, ev, cookie);
} else {
const ui64 intrasecond = AlignUp<ui64>(instant, IntrasecondThreshold);
TAutoPtr<TMomentMap>& msec = ScheduleMap[intrasecond];
if (!msec)
msec.Reset(new TMomentMap());
- TAutoPtr<NSchedulerQueue::TQueueType>& queue = (*msec)[instant];
+ TAutoPtr<NSchedulerQueue::TQueueType>& queue = (*msec)[instant];
if (!queue)
- queue.Reset(new NSchedulerQueue::TQueueType());
+ queue.Reset(new NSchedulerQueue::TQueueType());
queue->Writer.Push(instant, ev, cookie);
}