How to write a function to delay for given number of miliseconds?
The function will be called intensively once the app starts. So cpu usage has to be considered.
Any hints? Thanks