Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About FredrikAleksander

  • Rank

Personal Information

  • Interests

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I have some questions regarding the coroutines addon. I've got a script console, and if i execute a script in it that creates a coroutine, I want to wait until the coroutine is done running before I release the script context, but I do not see how to do that. It seems the 'thread' information exists only inside CContextMgr, and I have no way of figuring out if the main script context spawned new script contexts, and which if any those are. I was thinking I could just create new contexts, and have CContextMgr release them automatically (keepCtx = false), but then I cannot Release the script function that contains the running code. Is there any way to accomplish this without writing my own coroutine system?
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!