pending_results is currently a free-floating object that has life-time equal to ISession, we should merge these items together.
This should also allow us to share backbuffer information to our ISession and any derivatives with realtive ease.
Currently we cannot easily do this since ISession has its step powered by main-program-thread, yet pending_results needs significant cross thread communication between io-thread and main-program-thread as of right now. This means we would need a potentially complex threading situation to merge ISession safely with pending_results logic.
Once UI/Threading is merged (#497) it should be trivial to implement this merger since ISession is effectively unused by any-thread (it just manages life-time now) and pending_results becomes an object that is effectively isolated in the io-thread (meaning the rules on accessing the object become much simpler).
pending_resultsis currently a free-floating object that has life-time equal to ISession, we should merge these items together.This should also allow us to share
backbufferinformation to ourISessionand any derivatives with realtive ease.Currently we cannot easily do this since
ISessionhas itssteppowered by main-program-thread, yetpending_resultsneeds significant cross thread communication between io-thread and main-program-thread as of right now. This means we would need a potentially complex threading situation to merge ISession safely withpending_resultslogic.Once UI/Threading is merged (#497) it should be trivial to implement this merger since ISession is effectively unused by any-thread (it just manages life-time now) and
pending_resultsbecomes an object that is effectively isolated in the io-thread (meaning the rules on accessing the object become much simpler).