| 55 | // ���̴߳������� |
| 56 | |
| 57 | static 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 | |
| 72 | static void* thread_callback(void *ctx) |
| 73 | { |
no test coverage detected
searching dependent graphs…