BSP and Device Driver Development Guide
The Shm_Initialize_lock routine is responsible for
initializing the lock field. This routines usually is implemented
as follows:
void Shm_Initialize_lock(
Shm_Locked_queue_Control *lq_cb
)
{
lq_cb->lock = LQ_UNLOCKED;
}
BSP and Device Driver Development Guide
Copyright © 1988-2004 OAR Corporation