MCPcopy Create free account
hub / github.com/apple/foundationdb / getCurrentTask

Method getCurrentTask

flow/Net2.actor.cpp:191–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 Future<class Void> yield(TaskPriority taskID) override;
190 bool check_yield(TaskPriority taskId) override;
191 TaskPriority getCurrentTask() const override { return currentTaskID; }
192 void setCurrentTask(TaskPriority taskID) override {
193 currentTaskID = taskID;
194 priorityMetric = (int64_t)taskID;

Callers 5

sendMethod · 0.45
sendErrorMethod · 0.45
sendMethod · 0.45
sendErrorMethod · 0.45
doYieldMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected