I'm working on a multi-tasking thread scheduler that is in charge of executing a coroutine for a certain time, and then yielding it and moving to the next coroutine. This is where a problem arises. I cannot yield the coroutine from outside of the function. If I cannot use a C hook to do this in Open Computers, then how could I go about this?