src/socket/shm_socket.cpp | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/socket/shm_socket.cpp
@@ -46,7 +46,7 @@ if (tmp_ptr == NULL || tmp_ptr == (void *)1 ) { queue = new LockFreeQueue<shm_packet_t>(16); queue = new LockFreeQueue<shm_packet_t>(1024); hashtable_put(hashtable, key, (void *)queue); hashtable_unlock(hashtable); return queue; @@ -600,6 +600,10 @@ sendpak->key = sockt->key; rv = remoteQueue->push(*sendpak, timeout, flag); if(rv != 0) { mm_free(sendpak->buf); } if(rv == ETIMEDOUT) { return EBUS_TIMEOUT; }