Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loop statements mid-execution handles #41

Open
smoketh opened this issue Jun 18, 2016 · 1 comment
Open

Loop statements mid-execution handles #41

smoketh opened this issue Jun 18, 2016 · 1 comment
Labels

Comments

@smoketh
Copy link

smoketh commented Jun 18, 2016

HI, there.
I am writing a hacking game somewhat based on your marvelous framework right now.
In that game (netbreakers is working title) users run a virtual terminal and can launch programs which are basically javascript files, memory file system is already setup and running and everything seems fine.
However, because of the nature of the game (i am using internal classes to run multiple engines and their instances) I am pretty damn certain that smart-arse (and inexperienced) users will hang the game just by creating while(true) {} (or for(;;) loops which will hang execution if they not contain some sort of break or sleep statement.
So, i have a question. Is there a quick way to force loop statements to pause from software side and not from the user side? say, some automatic analysis which can pass handle to resume execution to a c# code once a loop statement reaches it's looping point?

@paulbartrum
Copy link
Owner

I'm assuming this issue is made obsolete by the referenced issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants