get_scheduler_pid

March 26, 2020 Contributors

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

is_scheduler_thread, scheduler_recurrent_func_add, and ping_scheduler.