Re: issue-#156 adding Coroutines to BlackBox

If Coroutines.Task has no performance benefits, why it is better than simple Services.Action ?
Main Wiki Issues Community GitHub Redmine
https://forum.blackboxframework.org/
https://forum.blackboxframework.org/viewtopic.php?f=50&t=610
Ivan Denisov wrote:If Coroutines.Task has no performance benefits, why it is better than simple Services.Action ?
Ivan Denisov wrote:Josef, let's make small step back to your initial proposal.
I moved the realization to Host subsystem and try to adopt some changes from last version.
http://blackboxframework.org/unstable/i ... a1.836.zip
I removed Task pattern to make it simpler for the debugging now. Later we can add it back. Dmitry also mentioned some efficiency troubles in the Community board.
Also I added ASSERT to Transfer to prevent using Transfer as GOTO. Also the Yield method can be generalized to Coroutine level.
However my version of code needs your attention. There is some segmentation fault because finalization goes wrong some place.
I afraid that can not find the reason soon. Can you please help to find the error!?
We can add HostCoroutines to HostDialog after this bug with Finalisation will be fixed later. Now build engine terminates build process because of this exit finalization troubles. (upd: That is why now HostCoroutines now imported only in ObxCoroutines).
I hope that my efforts will help to finish this issue and find some compromise solution which will be accepted by everybody.