RTEMS ITRON 3.0 API User's Guide
The T_RSEM structure is filled in by the ref_sem service with
status and state information on a semaphore. The structure
is defined as follows:
/*
* Reference Semaphore (ref_sem) Structure
*/
typedef struct t_rsem {
VP exinf; /* extended information */
BOOL_ID wtsk; /* indicates whether there is a waiting task */
INT semcnt; /* current semaphore count */
/* additional implementation dependent information may be included */
} T_RSEM;
The information in this table is very volatile and should be used with caution in an application.
RTEMS ITRON 3.0 API User's Guide
Copyright © 1988-2004 OAR Corporation