crossroads

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

mutextable1.cc (248B)


      1 #include "mutextable"
      2 
      3 MutexTable::MutexTable(unsigned sz): _size(sz) {
      4     debugmsg("Initializing mutex table with " << sz << " slots");
      5     _table = new MutexTree* [sz];
      6     for (unsigned i = 0; i < sz; i++)
      7         _table[i] = new MutexTree;
      8 }
      9