How to share a pointer to a custom struct across files and threads in Rust?

前端 未结 0 1387
挽巷
挽巷 2020-12-11 19:33

In C like language, whether it s for using a shared process memory or a mmap region to a file, one can do something like this

extern volatile static struct so         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题