•  Back 
  •  MiNT 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-File
                                 Processes


MiNT assigns each process a process identifier and a process priority
value. The identifier is used to distinguish the process from others in the
multitasking environment. Pgetpid() is used to obtain the MiNT ID of the
process and Pgetppid() can be used to obtain the ID of the processes'
parent.

MiNT also supports networking file systems that support the concept of
user and process group control. The Pgetpgrp(), Psetpgrp(), Pgetuid(),
Psetuid(), Pgeteuid(), and Pseteuid() get and set the process, user, and
effective user ID for a process.

MiNT has complete control over the amount of time allocated to individual
processes. It is possible, however, to set a process 'delta' value with
Pnice() or Prenice() which will be used by MiNT to decide the amount of
processor time a process will get per timeslice. Syield() can be used to
surrender the remaining portion of a timeslice.

Information about a processes' resource usage can be obtained by calling
Prusage(). These values can be modified with Psetlimit(). System
configuration capabilities may be obtained with Sysconf().

Each process can have a user-defined longword value assigned to itself
with Pusrval().

The functions Pwait(), Pwait3(), and Pwaitpid() attempt to determine the
exit codes of stopped child processes.