| 70 | } |
| 71 | |
| 72 | static void* thread_callback(void *ctx) |
| 73 | { |
| 74 | const char* addr = (const char*) ctx; |
| 75 | acl::aio_handle handle; |
| 76 | |
| 77 | if (!client_main(&handle, addr)) { |
| 78 | handle.check(); |
| 79 | return NULL; |
| 80 | } |
| 81 | |
| 82 | // ��Ϣѭ�� |
| 83 | while (true) { |
| 84 | if (!handle.check()) { |
| 85 | break; |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | handle.check(); |
| 90 | |
| 91 | return NULL; |
| 92 | } |
| 93 | |
| 94 | class test_client2 : public acl::ipc_client |
| 95 | { |
nothing calls this directly
no test coverage detected
searching dependent graphs…