Changing process_id's state (Written by:Moogle)
 
//Kill process_id
signal(process_id,s_kill);

//Kill all processes of the type 'proc'
signal(type proc,s_kill);

//As s_kill there are a few other constants available:
//s_sleep -> Process is halted untill woken up, all it's duties are... 
//...suspended including drawing to the screen.
//s_freeze -> Process is frozen from executing code, but will perform it's...
//...regular duties.
//s_kill -> Will eliminate the process.
//s_wakeup -> Gets a process out of sleep or frozen status.
  Back to Snippets

Home : Start Here : Sources : Snippets : Tutorials : Faq's : Links : Contact