BSP and Device Driver Development Guide
The Shm_Unlock routine is responsible for
releasing the lock field and reenabling processor
interrupts. This routines usually is implemented as follows:
void Shm_Unlock(
Shm_Locked_queue_Control *lq_cb
)
{
set the lock to the unlocked value
reenable processor interrupts to their level prior
to the lock being acquired. This value was saved
in the global variable Shm_isrstat
}
BSP and Device Driver Development Guide
Copyright © 1988-2004 OAR Corporation