PID, dynamic process id and static application handles

I've been recently digging in the OZ process management to understand PID or Dynamic Process Id. This note aims at clarifying differences between static and dynamic application handles.

This information is given by OS_Nq, NQ_WAI, id est Enquire Who Am I. This system call returns the static handle of the application, unique to application and its dynamic process handle. The static handle is unique to each application. Its attribution has been recently modified by installable applications. This number is in fact its order according the slot number.

  • 1-31 : application in internal slot, Index, the first application has always a static handle number 1, Diary number 2, Pipedream number 3...
  • 32-63 : applications in slot 1
  • 64-95 : applications in slot 2
  • 96-127 : applications in slot 3
  • 128-255 : installed applications in RAM

The dynamic process id (PID) refers to the process, 'the suspended activity in Index'. It is unique to each process, thus multiple instantiations of Pipedream will have different PID. Only Index has always the same since it is the first applications and has always only one instantiation. Its PID is 1. A range of 127 are available in OZ.

 

web analytics