HP 3000 Manuals

Changes to AIF Routines [ DCE for the HP 3000 ] MPE/iX 5.0 Express III Documentation


DCE for the HP 3000

Changes to AIF Routines 

The following AIF routine item numbers are associated with kernel
threads:

AIFPROCGET and        following are the associated item numbers:
AIFPROCPUT

                      Item#   Name (Type) and Description                                                                            

                      2137    Thread Type (I32) - Indicates what type of
                              thread this process is.  Valid values are:

                              0  Regular process (not a thread).

                              1  Initial thread (process created by the
                                 RUN command or CREATEPROCESS that has
                                 executed at least one PTHREAD
                                 intrinsic).

                              2  Secondary thread (process created by the
                                 HPTHDCREATE intrinsic).

                      2138    Initial Thread Pin (I32) - Returns the PIN
                              of the initial thread for this process.  If
                              the process is not part of a threaded task,
                              then a PIN of 0 is returned.  If the
                              process is an initial thread, then its own
                              PIN is returned.

                      2139    Initial Thread PID (REC) - Returns the PID
                              of the initial thread for this process.  If
                              the process is not part of a threaded task,
                              then a PID of 0 is returned.  If the
                              process is an initial thread, then its own
                              PID is returned.

                              Record type: longint_type (Refer to the AIF 
                              Reference Manual)

                      2140    List of Secondary Thread PIDs (REC) -
                              Returns of list of PIDs of all the
                              secondary threads.  The first word must
                              hold the size, in longwords, of the rest of
                              the buffer area.  The first word, upon
                              return, specifies the number of PIDs
                              returned.

                              This item is relevant only if the process
                              is an initial thread or a secondary thread.
                              If a regular process is specified, then no
                              PIDs are returned and a value of 0 is
                              returned in the first word.

                              Record type:  I64rec_type (Refer to the AIF 
                              Reference Manual).

                      2141    TIN (I32) - Returns the Thread
                              Identification Number.  Each thread must
                              have a unique TIN. For a regular process
                              (non-thread) the value 0 is returned.

AIFSYSWIDEGET     Following is the associated item number:

                  Item#   Name (Type) and Description                                                                                

                  2137    Thread Type (I32A) - Passing this criteria
                          returns the PIDs of processes with the thread
                          type equal to the specified criteria value.
                          Valid values for this item are:

                          0  Regular process (not a thread).

                          1  Initial thread (process created by the RUN
                             command or CREATEPROCESS that has executed
                             at least one PTHREAD intrinsic).

                          2  Secondary thread (process created by the
                             HPTHDCREATE intrinsic).



MPE/iX 5.0 Express III Documentation