MCPcopy Create free account
hub / github.com/chenshuo/muduo / longTask

Function longTask

muduo/base/tests/ThreadPool_test.cc:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55*/
56
57void longTask(int num)
58{
59 LOG_INFO << "longTask " << num;
60 muduo::CurrentThread::sleepUsec(3000000);
61}
62
63void test2()
64{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected