I was wondering if there is such a function in C that will allow me to enter a time and once that time has elapsed, then execute some code ??
I wish to do something like this
executing = false;
once the 4 seconds is up I would like the executing flag to be set to false.
I don't know if this is possible but this is what I want to do.