Function getPriority

  • Returns the scheduling priority for the process specified by pid. If pid is not provided or is 0, the priority of the current process is returned.

    Parameters

    • Optional pid: number

      The process ID to retrieve scheduling priority for.

    Returns number

  • Returns the scheduling priority for the process specified by pid. If pid is not provided or is 0, the priority of the current process is returned.

    Parameters

    • Optional pid: number

      The process ID to retrieve scheduling priority for.

    Returns number

Generated using TypeDoc