MCPcopy Create free account
hub / github.com/Clarionos/clarion / exec

Method exec

libraries/appbase/application.cpp:410–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410void application::exec() {
411 {
412 boost::asio::io_service::work work(*io_serv);
413 (void)work;
414 bool more = true;
415 while( more || io_serv->run_one() ) {
416 while( io_serv->poll_one() ) {}
417 // execute the highest priority item
418 more = pri_queue.execute_highest();
419 }
420
421 shutdown(); /// perform synchronous shutdown
422 }
423 io_serv.reset();
424}
425
426void application::write_default_config(const bfs::path& cfg_file) {
427 if(!bfs::exists(cfg_file.parent_path()))

Callers 2

mainFunction · 0.45
mainFunction · 0.45

Calls 2

execute_highestMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected