我想了解共享内存是否从内核空间获取内存分配,那么为什么不通过上下文切换呢?如果不是来自内核空间,则从那里分配内存。
c c++ shared-memory
c ×1
c++ ×1
shared-memory ×1