nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

tm_rcvr::process_message() return bool #134

Closed nthallen closed 1 year ago

nthallen commented 3 years ago

Could return true when TMTYPE_QUIT is received, which would allow all the tm_clients to quit.

Right now, we no longer receive EOF from bfr, because bfr is being so good about sending TMTYPE_QUIT and the tm_rcvr is being so good about closing the connection and deleting the Interface, so there is no evidence that we were ever a tm_client!

nthallen commented 1 year ago

I am marking this wontfix because we clearly have other ways of dealing with this and process_message() with its void return is already deeply nested in various places.