MCPcopy Create free account
hub / github.com/bytedance/bolt / notifyReadyToRun

Method notifyReadyToRun

bolt/exec/Task.cpp:3148–3152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3146}
3147
3148void Task::notifyReadyToRun() {
3149 EventCompletionNotifier readyToRunNotifier;
3150 readyToRunNotifier.activate(std::move(taskReadyToRunPromises_));
3151 readyToRunNotifier.notify();
3152}
3153
3154void Task::testingVisitDrivers(const std::function<void(Driver*)>& callback) {
3155 std::lock_guard<std::timed_mutex> l(mutex_);

Callers 1

scheduleNewTasksIfAnyMethod · 0.80

Calls 2

activateMethod · 0.80
notifyMethod · 0.45

Tested by

no test coverage detected