0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-24 17:38:54 +02:00

construct: Save the count of handlers the io_service ran for convenience/diagnostic.

This commit is contained in:
Jason Volk 2020-01-24 09:49:50 -08:00
parent 41c012a695
commit e2e1c1541d

View file

@ -312,7 +312,10 @@ noexcept try
// 1
// Execution.
// Blocks until a clean exit from a quit() or an exception comes out of it.
ios.run();
const size_t handled
{
ios.run()
};
// 13
// The smoketest is enabled if the first value is true; then all of the