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

Method isOnMainThread

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

Source from the content-addressed store, hash-verified

195 }
196 void onMainThread(Promise<Void>&& signal, TaskPriority taskID) override;
197 bool isOnMainThread() const override { return thread_network == this; }
198 void stop() override {
199 if (thread_network == this)
200 stopImmediately();

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected