init_async_ipc

Gamma: Version 4.0
Prev |  | Next

# `init_async_ipc`

`init_async_ipc` -- requests queue information from a task.

## Syntax

    init_async_ipc (other_task)

## Arguments

`other_task`

  A task descriptor as assigned to a `locate_task` call.

## Returns

Non-nil on success, or nil on failure.

## Description

This function initializes the interprocess communication system to allow this task to make calls to `register_point`, `register_existing_point`, `send_async` and `send_string_async`. It requests queue information from the given task. A deadlock situation could occur if two tasks attempt to initialize asynchronous communication with one another at the same time. The queue server task, qserve, must be running for this call to succeed.

## Example

        Gamma> init_ipc("mytask","mytask_q");
        t
        Gamma> task = locate_task("server", t));
        #<Task: 32271>
        Gamma> init_async_ipc(task);
        t

## See Also

`init_ipc`, `locate_task`, `register_point`, `send_async`, `send_string_async`

Prev | Home | Next
`_destroy_task` | Up | `init_ipc`

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