osScAddClient.3p
1.01 KB
.TH osScAddClient 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
osScAddClient \- add a client to the RCP task scheduler
.SH SYNOPSIS
.nf
\f3
.Op c
#include <ultra64.h>
.sp .8v
void osScAddClient(OSSched *s, OSScClient *c, OSMesgQueue *msgQ);
.SH PARAMETERS
.TP 10
.I s
pointer to the scheduler structure.
.TP
.I c
pointer to the client structure to add to the scheduler's list.
.TP
.I msgQ
the message queue on which to send task done messages.
.SH DESCRIPTION
The Scheduler instantiates the Vi Manager and recieves 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
.I osScAddClient()
function. One of the parameters to this call is the message queue on
which you wish to recieve retrace messages. Make sure that the queue
is big enough if you don't want to lose messages, as the Scheduler
does not block when the queue is full.
.SH "SEE ALSO"
.IR osCreateScheduler (3P),
.IR osScGetTaskQ (3P)