MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / do_tasks_forever

Method do_tasks_forever

src/cli/MeasureManager.cpp:1037–1046  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1035}
1036
1037void MeasureManagerServer::do_tasks_forever() {
1038 fmt::print("MeasureManager Ready\n");
1039 fmt::print("Accepting requests on: {}\n", m_url);
1040 std::fflush(stdout);
1041 while (true) {
1042 auto task = tasks.wait_for_one();
1043 task();
1044 std::fflush(stdout);
1045 }
1046}
1047
1048} // namespace openstudio

Callers 1

executeMethod · 0.80

Calls 1

wait_for_oneMethod · 0.80

Tested by

no test coverage detected