Task coordination.


void * EventPend( pEVENT pevent, int timeout )
Wait on a task coordination event. Wait forever with timeout of zero, poll with timeout of -1, or wait timeout micro seconds. Source: ../mlexec.c.html#EventPend
int EventPost( pEVENT pevent, void *entity )
Post a task coordination object. Source: ../mlexec.c.html#EventPost
int EventSched( pEVENT pevent, void *entity )
Post a task coordination object, then reschedule if that makes another higher priority task ready to run. Source: ../mlexec.c.html#EventSched
void ExecSched(void )
Switch to the highest priority task object. Source: ../mlexec.c.html#ExecSched
char * BufNew(void)
Get a buffer from the buffer pool. Source: ../mlexec.c.html#BufNew
int BufDelete( char *ptr )
Return a buffer to the buffer pool. Source: ../mlexec.c.html#BufDelete
int EventSemCount( pEVENT pevent )
Return semaphore value so EVENTt can remain an incomplete type outside of mlexec.c. Source: ../mlexec.c.html#EventSemCount
void TaskDelaySec( int delay_sec )
Sleep at least delay_sec seconds with 10 millisec or so precision. Source: ../mlexec.c.html#TaskDelaySec
void TaskDelayUSec( int delay_usec )
Sleep at least delay_usec micro seconds, subject to 10 millisec system tick granularity, etc. Source: ../mlexec.c.html#TaskDelayUSec
int ReadYield( int fd, int delay_usec )
Wait at least delay_usec micro seconds for input to appear on the file descriptor, subject to 10 millisec system tick granularity, etc. Not real time, but is real handy. Wait forever if delay_usec is zero. And yield to other tasks in the meantime. Source: ../mlexec.c.html#ReadYield
void * VAPost( pEVENT pto, pEVENT pfrom, ... )
Variable argument event post. Pass address of sender's argument stack to target task and wait for a reply. Source: ../mlexec.c.html#VAPost
int VAPrintf( pEVENT pfrom, ... )
Set up an output formatting request for the TPrintf() task object and send if off for him to deal with. Source: ../mlexec.c.html#VAPrintf
alphabetic index hierarchy of classes


XIDAR TECHNICS, 3388 STATE RT 370, CATO NY 13033-9716
Copyright © 1996 Eliot W. Dudley All rights reserved.
edudley@servtech.com

Dallas Semiconductor Home Page 1-Wire, DS, DS1820, DS2405, DS2407, DS9097, and MicroLan are trademarks and/or registered trademarks of Dallas Semiconductor

generated by doc++