Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Time to execute the following code: about 20ns for a lock/unlock pair.

Code Block
     boost::mutex m;
    ...
    m.lock();
    m.unlock();