How to call main thread function from a secondary thread in C?

后端 未结 0 913
庸人自扰
庸人自扰 2021-02-07 16:30

I have a secondary thread running some code in a loop and i want it to send a callback to the main thread every N loop cycles.

I pass the callback function as a pointer <

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