crossroads

Git mirror of https://crossroads.e-tunity.com/
git clone git://git.finwo.net/app/crossroads
Log | Files | Refs | LICENSE

unlock.cc (181B)


      1 #include "mutex"
      2 #include "error/error"
      3 #include "profiler/profiler"
      4 
      5 void Mutex::unlock() {
      6     if (pthread_mutex_unlock(&_mutex))
      7         throw Error("Failed to unlock mutex");
      8 }