N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

   

osScAddClient

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


Arguments
  • s is the pointer to the scheduler structure
  • c is the pointer to the client structure to add to the scheduler's list
  • msgQ is the message queue on which to send "task done" messages
What This Function Does
It adds a client to the RCP task scheduler.

The Scheduler instantiates 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 on which you want to receive retrace messages. Make sure that the queue is big enough if you don't want to lose messages because the Scheduler does not block when the queue is full.

See Also
osCreateScheduler
osScGetTaskQ



Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.


Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998