IP_pfTaskComp

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `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

Prev | Home | Next
`IP_NserveSetDomain` | Up | `IP_PhotonGUIFilter`

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