qnx_trigger

Gamma: Version 4.0
Prev |  | Next

# `qnx_trigger`

`qnx_trigger` -- tells a proxy to send its message.

## Syntax

    qnx_trigger (pid, command, priority? )

## Arguments

`proxyid`

  The process ID of the proxy.

`command`

  The message code.

`priority`

  The priority of the message.

## Returns

The process ID of the proxy triggered, else -1.

## Description

This function is a mapping of the QNX 4 kernel function `Trigger`. It triggers a proxy to send its message to the receiving task. Its calling process does not block, and if more than one `qnx_trigger` call is sent while the task is busy, up to 65535 proxy messages will be queued for later delivery.

In case of error, the errno ESRCH means the proxy does not exist.

## Example

Examples of this function are beyond the scope of this documentation.

Prev | Home | Next
`qnx_spawn_process` | Up | `qnx_vc_attach`

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