Locks an unlocked mutex.
tis_mutex_lock( mutex );
Argument Data Type Accessmutex opaque pthread_mutex_t read
#includeint tis_mutex_lock ( pthread_mutex_t *mutex);
In a threaded environment, the thread that has locked a mutex becomes its current owner and remains the owner until the same thread has unlocked it. This routine returns with the mutex in the locked state and with the current thread as the mutex's current owner.
Return Description0 Successful completion. [EINVAL] The value specified by mutex is invalid. [EDEADLK] A deadlock condition is detected.
tis_mutex_destroy tis_mutex_init tis_mutex_trylock tis_mutex_unlock