MCPcopy Create free account
hub / github.com/davisking/dlib / ~thread_pool

Method ~thread_pool

dlib/threads/thread_pool_extension.h:508–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506 }
507
508 ~thread_pool (
509 )
510 {
511 try
512 {
513 impl->shutdown_pool();
514 }
515 catch (std::exception& e)
516 {
517 std::cerr << "An unhandled exception was inside a dlib::thread_pool when it was destructed." << std::endl;
518 std::cerr << "It's what string is: \n" << e.what() << std::endl;
519 assert(false);
520 abort();
521 }
522 catch (...)
523 {
524 std::cerr << "An unhandled exception was inside a dlib::thread_pool when it was destructed." << std::endl;
525 assert(false);
526 abort();
527 }
528 }
529
530 void wait_for_task (
531 uint64 task_id

Callers

nothing calls this directly

Calls 1

whatMethod · 0.45

Tested by

no test coverage detected