MCPcopy Create free account
hub / github.com/acl-dev/acl / client_main

Function client_main

lib_acl_cpp/samples/aio/aio_ipc/main.cpp:57–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55// ���̴߳�������
56
57static bool client_main(acl::aio_handle* handle, const char* addr)
58{
59 // ������Ϣ����
60 acl::ipc_client* ipc = new test_client1();
61
62 // ������Ϣ������
63 if (!ipc->open(handle, addr, 0)) {
64 std::cout << "open " << addr << " error!" << std::endl;
65 delete ipc;
66 return false;
67 }
68
69 return true;
70}
71
72static void* thread_callback(void *ctx)
73{

Callers 2

thread_callbackFunction · 0.85
mainFunction · 0.85

Calls 1

openMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…