Skip to main content

Name

get_scheduler_pid — Get the Process ID (PID) of the master scheduler thread

Synopsis

#include "scheduler.h"

| pid_t **get_scheduler_pid** ( | ); |   |

void;

Description

Get the PID of the master scheduler thread.

Return Values

This function returns the PID of the master scheduler. The following typedef applies to this return value:

typedef int pid_t;

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?