您的位置:首页 > 其它

ACE shared memory mmap memory pool

2009-05-23 17:24 387 查看
It took me several hours' editing and debugging when i  want to implement info share between different processes in single machine(single write multi read) with ACE.

 

Two principles got from debugging:

bind() must be called by writer

when shared info read and written by different process, position-independent allocation must used

 

All those unnecessary work can be avoided by reading "ACE programmer's guide" 17.2/17.3 carefully
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  allocation debugging
相关文章推荐