crossroads

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

enregister.cc (190B)


      1 #include "threadlist"
      2 
      3 Threadmap Threadlist::th_map;
      4 
      5 void Threadlist::enregister() {
      6     Threadinfo n;
      7     mutex_lock(&th_map);
      8     th_map[pthread_self()] = n;
      9     mutex_unlock(&th_map);
     10 }