26 #include "boost/thread/thread.hpp" 
   27 #include "boost/thread/barrier.hpp" 
   30 using namespace pwiz::util;
 
   48     const int testThreadCount = 100;
 
   49     boost::barrier testBarrier(testThreadCount);
 
   50     boost::thread_group testThreadGroup;
 
   51     for (
int i=0; i < testThreadCount; ++i)
 
   53     testThreadGroup.join_all();
 
   57 int main(
int argc, 
char* argv[])
 
   63         if (argc>1 && !strcmp(argv[1],
"-v")) 
os_ = &cout;
 
   64         if (
os_) *
os_ << 
"COMInitializerTest\n";