
-----------------------------------
templest
Mon Oct 06, 2003 10:54 am

Stopping fork processes in turing 3.11 when clicking GUI
-----------------------------------
:oops: anyone know how to stop a fork? I made a menu for a game and set the thing so that when I click a GUI button, the whole this clears and it shows a little screen saying game over. This is only a a menu not a game. So... I click it and it does everything but the forks keeping going at it. I've tried doing some googles (searches) but nothing on how to stop forks. Any help?  :oops:  :oops:  :oops:  I'm at school and class is over... I'll post the source code when I get home if You really need it to fix the program.

-----------------------------------
rizzix
Mon Oct 06, 2003 4:17 pm


-----------------------------------
eh... why fork another process? create the window in the same process

-----------------------------------
AsianSensation
Mon Oct 06, 2003 4:54 pm


-----------------------------------
return works for processes as well as procedures

-----------------------------------
Tony
Mon Oct 06, 2003 5:47 pm


-----------------------------------
you can set a flag variable in the process and change its value when you want to quit. then right when the loop begins again in the process, you check the variable if you need to quit or not.

-----------------------------------
templest
Mon Oct 20, 2003 10:36 am


-----------------------------------
you can set a flag variable in the process and change its value when you want to quit. then right when the loop begins again in the process, you check the variable if you need to quit or not.

Thanks. :-)
