osdMutexLock

osdMutexLock

osd

1998 12-05


NAME

osdMutexLock - lock a light weight mutex


SYNOPSIS

long osdMutexLock(OSD_Mutex *mutex)

osdMutexLock() locks a mutex. If the mutex is already locked the calling thread will block until the mutex is unlocked.


Once the mutex is locked it remains locked until osdMutexUnlock() is called.


Return TRUE on success and FALSE on failure.


ARGUMENTS


mutex the mutex to lock