Get periodic updates from a process
I have a function which will increment a number with time. This is given to a process; but it doesn’t increment while the process runs. I want the incremented value of my global variable at regular intervals. But, I am not seeing the increment happening.