木头云

Results 136 comments of 木头云

You should **serialize** them first, then put the memory block pointer and the size of it to the sending interface.

How do you send a big vector? Could you show a minimal example code?

了解,最近项目较忙,cpp-ipc也还有不少改进余地。 有空了我会补充文档的。

> 我想确认一下,对于一个广播,只要通知这个动作成功完成就算成功,就算存在多个接收方但他们都因为某些原因没有发起真正的接收动作这个也是成功,直到队列满掉然后才会启动强制覆盖策略,对吧? 对的

I will check this out tomorrow.

- about the modification of cc_id_ This is a nice fix, and the connection-info id really doesn't need to worry about global uniqueness. - about the modification of destroy 'chunk_storages'...

如果只发送一条数据的话,底层会直接开一个用于分配你传递数据块大小一致的定长池,然后从池里直接分配空间。 如果100%重现的话,可以发一下你的send、recv的关键代码么?

你可以尝试调整下超时,别用0。 另外可以在运行环境下尝试下demo里的msg_que,看下会不会有什么问题。 目前ipc的设计是为控制流做的,对于数据流的收发并不是很适合,我正在尝试重构整个项目。