src/alc_session.c
void lock_session() {
#ifdef _MSC_VER
  EnterCriticalSection(&session_variables_semaphore);
#else
  pthread_mutex_lock(&session_variables_semaphore);
#endif
}
/**
 * This is a private function, which locks the session.
 *
 */
This is a private function, which locks the session.
This is a private function which locks the session .
void lock_session() {
#ifdef _MSC_VER
  EnterCriticalSection(&session_variables_semaphore);
#else
  pthread_mutex_lock(&session_variables_semaphore);
#endif
}
void lock_session ( ) { #ifdef _MSC_VER EnterCriticalSection ( & session_variables_semaphore ) ; #else pthread_mutex_lock ( & session_variables_semaphore ) ; #endif }
This is a private function, which locks the session.
This is a private function which locks the session .