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 05:22:43 GMT
Ok on further looking, on Driver side I need to register,
IObserver<ITaskMessage> and on task side it is ITaskMessageSource.
Periodically, with the heartbeats these messages will be read from task and
sent to the driver.

Can somebody confirm this?
And now an important question: Is this part of code very well tested :) .
How  confident are we? :)


On Tue, Jun 7, 2016 at 9:34 PM, Dhruv Mahajan <>

> Hi
> So I want to implement the following semantics:
> a) Task does something and then sends message to driver that it is done
> and then waits on a semaphore or something like that.
> b) Driver receives the message, get the messages from all the evaluators
> and then use Dispose() call to send messages to each task.
> c) Upon receiving ICloseEvent, each task resumes itself and then exits.
> What is the handler to send the message from task to driver?
> Dhruv

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