DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

os_mutex_unlock(D3psm)


os_mutex_unlock -- release a simple mutex exclusion lock

Synopsis

   void os_mutex_unlock(ms_lockp_t lockp, ms_lockstate_t prev_state)

Description

os_mutex_unlock releases a simple mutual exclusion lock previously acquired by os_mutex_lock(D3psm). The interrupt state will be restored to whatever it was before the lock was obtained, as indicated by prev_state.

os_mutex_unlock may not be called from pfxinitpsm.

Arguments


lockp
pointer to the lock structure

prev_state
interrupt state to be restored

Return values

None.

Usage

Hardware applicability

All.

Version applicability

psm: 2

References

os_mutex_lock(D3psm)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - 19 June 2005