Types of program - The-Riddler/CCKernel GitHub Wiki

There is multiple types of program as the process manger sees it, there is:

  • One shot
  • One shot return
  • Persistent

##One shot A one shot program is the simplest type of program available, when executed the code is run and run once. After this it is discarded.

##One shot return This type behaves exactly the same as a One shot program except it returns a value

##Persistent This is the type of program I designed the kernel to operate with. Persistent programs have an indefinitely long life and will persist until they terminate themselves or error.