PxTaskIdIsValid()

Return TRUE if Task holds a valid Task handle.

APPLIES TO

1.0.0

SYNOPSIS
int PxTaskIdIsValid (PxTask_t Task);
ARGUMENTS
Task

A Task handle

RETURN VALUES
  • TRUE if Task is a valid Task handle

DESCRIPTION

PxTaskIdIsValid returns TRUE if obj holds a valid Task handle.

USAGE
#include "pxdef.h"

int valid = PxTaskIdIsValid(Task);

if (!valid) {
    // Handle invalid Mc handle
}