running updates while inactive/screen locked

Hey, just wondering how to run updates while the screen is ‘inactive’ or locked with OF? Should I be running a separate thread and avoid the update/draw functions?


If you want to be running updates even after it enters the auto lock, you have to write a separate thread that will let it work even when the others are put on hold.

That seems to be a growing problem that the iPhone has innately that puts on recess all functions when it goes on sleep mode.

Or better yet, you can just put the screen to dim while letting the processor run its normal course.