[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [dsdp-tcf-dev] Response order from tcf agents
|
Hi Torleif,
In TCF, the protocol and implementations MUST process requests relating
to the same remote object (or related objects) in the order in which
they are received. In other words, if a client submits multiple requests
to the agent, the results in the responses MUST be the same as if it had
sent the requests one at a time and waited for the response in each
case.
This allows client to overlap commands execution, which greatly improves
performance.
Command responses relating to the same remote object (or related
objects) MUST have correct order relative to events coming from same
object. This is necessary to maintain data cache coherency on the client
side.
Regards,
Eugene.
-----Original Message-----
From: dsdp-tcf-dev-bounces@xxxxxxxxxxx
[mailto:dsdp-tcf-dev-bounces@xxxxxxxxxxx] On Behalf Of Sandnes, Torleif
Sent: Tuesday, June 23, 2009 3:23 AM
To: dsdp-tcf-dev@xxxxxxxxxxx
Subject: [dsdp-tcf-dev] Response order from tcf agents
Hi.
I have recently been working on implementing a tcf agent in c++.
For various reasons, his agent uses a thread pool to service commands
that enter an event queue and responses can thus be sent to clients in a
different order than commands were received.
When running the TCF tests from Eclipse, it seems that it is expected
that the order of responses are the same as the order the corresponding
commands were sent.
Is this really the case? Why aren't the Tokens used to match responses
to commands?
Will any agents that send responses out-of-order be able to use eclipse
as a debug front-end?
Regards,
Torleif Sandnes
_______________________________________________
dsdp-tcf-dev mailing list
dsdp-tcf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dsdp-tcf-dev