Computer Science Canada

Stopping fork processes in turing 3.11 when clicking GUI

Author:  templest [ Mon Oct 06, 2003 10:54 am ]
Post subject:  Stopping fork processes in turing 3.11 when clicking GUI

Embarassed 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? Embarassed Embarassed Embarassed 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.

Author:  rizzix [ Mon Oct 06, 2003 4:17 pm ]
Post subject: 

eh... why fork another process? create the window in the same process

Author:  AsianSensation [ Mon Oct 06, 2003 4:54 pm ]
Post subject: 

return works for processes as well as procedures

Author:  Tony [ Mon Oct 06, 2003 5:47 pm ]
Post subject: 

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.

Author:  templest [ Mon Oct 20, 2003 10:36 am ]
Post subject: 

Quote:
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. Smile


: