reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhruv Mahajan <>
Subject Re: how to send message from task to driver
Date Wed, 08 Jun 2016 17:04:56 GMT
It does not which makes things even simpler :) . Currently, I think once
*Host tasks were done they were exiting. So the task could exit because: a)
its completed b) some failure happened c) driver asked it. b) we cannot
avoid, but now we are saying that c) is the only way.


On Wed, Jun 8, 2016 at 10:02 AM, Markus Weimer <> wrote:

> On 2016-06-08 09:59, Dhruv Mahajan wrote:
>> I looked at TaskManager code and there we are calling Dispose to call
>> the ICloseEvent on the Task Side. We should simply extend it by
>> sending another "completed" sort of message and extending the FT to
>> consider it.
> `IRunningTask.Dispose()` can take a `byte[]` to convey such messages for
> different kinds of shutdown. However, what difference does it make to
> the IMRU tasks *why* they are being shutdown?
> Markus

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message