Is it possible to alter a variable that is being used control a loop running in a thread, from the main function?

后端 未结 0 1259
青春惊慌失措
青春惊慌失措 2021-02-06 13:52

I have a class called Timer. Timer takes a function pointer and should invoke it until the condition variable is set to false.

I thought about i

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