How to use Thread-Local Storage in linux kernel module?

后端 未结 0 725
我寻月下人不归
我寻月下人不归 2021-01-30 11:36

I\'m making a Linux kernel module that separates threads. Each thread needs a global variable, so I tried to use Thread-Local Storage using the __thread keyword. However, becaus

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