+ 7

How to put a threading function inside a class?

14th May 2019, 6:24 AM
Zhenis Otarbay
Zhenis Otarbay - avatar
3 Answers
+ 2
1) Register it as callback to a Timer 2) Fork a Task (or Thread) that executes it
14th May 2019, 8:04 AM
Daniel Adam
Daniel Adam - avatar
+ 6
Daniel Adam my question is how to make a periodically calling function inside of a class
14th May 2019, 7:42 AM
Zhenis Otarbay
Zhenis Otarbay - avatar
+ 2
A threading function? Threads are alternative execution paths, functions are structural elements for code. What is your question?
14th May 2019, 7:32 AM
Daniel Adam
Daniel Adam - avatar