�ú��������߳��б�����
| 83 | |
| 84 | // �ú��������߳��б����� |
| 85 | void rpc_request::rpc_signal(void* ctx) |
| 86 | { |
| 87 | #ifdef ACL_WINDOWS |
| 88 | HWND hWnd = get_hwnd(); |
| 89 | if (hWnd != NULL) { |
| 90 | // �ھ������Ϣ������ǰ����ĵ�ַ�������߳� |
| 91 | ::PostMessage(hWnd, RPC_WIN32_SIG, (WPARAM) ctx, (LPARAM) this); |
| 92 | return; |
| 93 | } |
| 94 | #endif |
| 95 | if (ipc_ == NULL) { |
| 96 | abort(); |
| 97 | } |
| 98 | /* |
| 99 | IPC_DAT data; |
| 100 | data.req = this; |
| 101 | data.ctx = ctx; |
| 102 | // �����̷߳��ͽ�� |
| 103 | ipc_->send_message(RPC_SIG, &data, sizeof(data)); |
| 104 | */ |
| 105 | dat_.ctx = ctx; |
| 106 | // �����̷߳��ͽ�� |
| 107 | ipc_->send_message(RPC_SIG, &dat_, sizeof(RPC_DAT)); |
| 108 | } |
| 109 | |
| 110 | bool rpc_request::cond_wait(int timeout /* = -1 */) |
| 111 | { |
nothing calls this directly
no test coverage detected