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?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
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?
Link to post
Share on other sites