MCPcopy Create free account
hub / github.com/apache/thrift / addTask

Method addTask

lib/cpp/src/thrift/server/TNonblockingServer.h:422–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420 bool isThreadPoolProcessing() const { return threadPoolProcessing_; }
421
422 void addTask(std::shared_ptr<Runnable> task) {
423 threadManager_->add(task, 0LL, taskExpireTime_);
424 }
425
426 /**
427 * Return the count of sockets currently connected to.

Callers 1

transitionMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected