[Disksim-users] slave mode and request completion
Nobody Nobody Nobody
n080di at yahoo.com
Wed Jul 15 03:47:37 EDT 2009
In slave mode, can the master simulator give disksim a second request before disksim has finished processing a previous one?
If so, then how does the master know which request completed, when disksim calls its completion function?
In my code, the completion function completion(t, *req, *ctx) returns garbage values in req and ctx is null.
Or should I be using iface->ctx to point to the request currently being processed by disksim? If so, then disksim cannot handle more than one request at a time.
Any enlightening comments welcome.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20090715/669cb116/attachment.html>
More information about the Disksim-users
mailing list