osScAddClient osScAddClient (function)

Adds a client to the RCP task scheduler

Syntax

#include <ultra64.h>     /* ultra64.h */
void osScAddClient(OSSched *s, OSScClient *c, OSMesgQueue *msgQ);

Arguments

s
the pointer to the scheduler structure

c
the pointer to the client structure to add to the scheduler's list

msgQ
the message queue on which to send "task done" messages

Description

The Scheduler shows the VI manager and receives all retrace messages. However, clients of the Scheduler can receive a copy of the retrace message by providing a message queue when they sign in. This is accomplished by calling the osScAddClient function.

One of the arguments to this call is the message queue msgQ on which you want to receive retrace messages. Make sure that the queue is big enough if you do not want to lose messages because the Scheduler does not block when the queue is full.

See Also

osCreateScheduler, osScGetTaskQ

Revision History

1999/04/30 Changed format