We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
看到rw_lock和spin_lock好像可以直接放到共享内存shm中,用来同步不同进程的访问。
比较担心不同进程(32位/64位)中rw_lock和spin_lock 的结构体对齐/布局不一致,以及版本兼容问题。
希望可以提供例子,或者更多文档描述。