예제 #1
0
void Semaphore_Mutex_Actions::release_action(const char*) {
  if (Force_Direct_Squeak_Interpreter_Access)
    return;
  
  OS_Mutex_Interface* mutex = get_mutex();
  if (tracking)  mutex->set_holder(-1);
  OS_Interface::abort_if_error("Semaphore_Mutex", mutex->unlock());
}
예제 #2
0
void Scheduler_Mutex_Actions::release_action(const char*) {
  OS_Mutex_Interface* mutex = get_mutex();
  if (tracking)  mutex->set_holder(-1);
  OS_Interface::abort_if_error("Scheduler_Mutex", mutex->unlock());
}