SLOG_TTAB_AddThreadInfo(3)

SLOG_TTAB_AddThreadInfo3

Add thread info to the slog thread table.

Usage

int SLOG_TTAB_AddThreadInfo(       SLOG_STREAM       *slog,
                             const SLOG_nodeID_t      in_node_id,
                             const SLOG_threadID_t    in_thread_id,
                             const SLOG_OSprocessID_t in_OSprocess_id,
                             const SLOG_OSthreadID_t  in_OSthread_id,
                             const SLOG_appID_t       in_app_id )

Modified input variables

slog

- pointer to the SLOG_STREAM where SLOG Thread Table is located.

Unmodified input variables

in_node_id

- node ID.

in_thread_id

- logic thread ID.

in_OSprocess_id

- OS process ID.

in_OSthread_id

- OS thread ID.

in_app_id

- application ID.

Modified output variables

returned value

- integer return status.

Include file needed

slog_ttable.h

Notes on slog return status code

There are 5 allowed SLOG returned status codes. They include SLOG_SUCCESS, SLOG_FAIL and SLOG_EOF. Their actual values are defined in slog.h

SLOG_SUCCESS is returned when no error is encountered.

SLOG_FAIL is returned when error is encounted.

SLOG_EOF is returned when End of file is encounted.

There are also SLOG_TRUE and SLOG_FALSE which are sued as boolean values, in particular they are used in boolean functions which are usually named as IsXXXXX(), AreXXXXX() and HasXXXXX().

Location

From mpi-doc 1.2.5.3-5 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.