Revert "Change pthread usage in MCOperationQueue to use std::mutex/std::thread"

This reverts commit 54b038df296c4bb85bcd1a586f7c90c4c76d09e0.
fixed test
Fixed a crasher.
Improved header documentation.