static void* test_use_facet (void*) { const std::locale classic (std::locale::classic ()); for (int i = 0; i != opt_nloops; ++i) { try { use_facet_loop (classic, i); } catch (...) { // what to do here? } } return 0; }
static void* test_use_facet (void*) { const std::locale classic (std::locale::classic ()); for (int i = 0; i != opt_nloops; ++i) { if (rw_thread_pool_timeout_expired ()) break; try { use_facet_loop (classic, i); } catch (...) { // what to do here? } } return 0; }