IP_pfTaskComp

IP_pfTaskComp -- compares two tasks for equality.

Syntax

int IP_pfTaskComp(const void* t1, const void* t2);

Arguments

t1

A pointer to a task structure.

t2

A pointer to a task structure.

Returns

<0 if t1 is ordinally less than t2, 0 if the two tasks are equal, and >0 if t1 is ordinally greater than t2.

Description

This function compares two tasks for equality by comparing their nid, pid and chid values.

See Also

Task Structures

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.