crossroads

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

copy.cc (224B)


      1 #include "mutextree"
      2 
      3 void MutexTree::copy(MutexTree const &other) {
      4 #   ifdef DEBUG
      5     debugmsg("Mutex: WARNING - copy invoked\n");
      6 #   endif
      7     
      8     _treelock = other._treelock;
      9     _root = new MutexNode(other._root);
     10 }