PxGetId()

Return the calling task’s identifier.

APPLIES TO

1.0.0

SYNOPSIS
PxTask_t PxGetId (void);
RETURN VALUES
  • The calling task’s id

DESCRIPTION

PxGetId returns the PXROS object identifier of the calling task.

IMPLEMENTATION GUIDELINES
Before call
  • No checks necessary.

After call
  • No checks necessary.

Best Practice
  • No restrictions.

SEE ALSO
USAGE
#include "pxdef.h"

PxTask_t id = PxGetId();