next up previous contents index
Next: Manipulating Logical Volumes Up: The OSFriends Interface Previous: Miscellaneous File-System Operations

Manipulating Process Templates

 

   

TYPE
  STrace = (STNever, STOnce, STAlways);

PROCEDURE SetSTrace(template: ProcessTemplate; exec, fork: STrace)
  RAISES {Error};

  SetSTrace sets the exec and fork STrace flags in the specified process template; it is for use by the Taos debugger (and has no Ultrix implementation). The fork STrace flag is currently ignored.

 

PROCEDURE SetPriority(
    template: ProcessTemplate;
    priority: ThreadFriends.Priority)
  RAISES {Error};

          SetPriority sets the initial priority for the first thread in the new process to be created from the specified process template. The supplied priority should be one of the three constants defined in the ThreadsPort interface: BackgroundPriority, NormalPriority, or ForegroundPriority; other values are not advised. The default when SetPriority is not called is to use the priority of the calling process's initial thread as of the time the process template was created.



Paul McJones
8/28/1997