HNHacker News
TopNewBestAskShowJobs

ili

1 karma · joined January 9, 2019

submissionscomments
ili··on Securing Against Infinite Loop
yes that is what i want. is executeUserProgram() a system call? how do i implement this in windows. I am thinking of forking a process and then kill the other process after certain amount of time. will it work?
ili··on Securing Against Infinite Loop
So how does that 'check program' works?
ili··on Securing Against Infinite Loop
But if you check Ideone.com and write a code like this:

while(true){}

the page loads but the ide says time limit exceeded after 5 seconds and stops the execution. Now, how do you do that?