[Tinyos-devel] issue with ResourceRequested

Eric Decker cire831 at gmail.com
Fri Aug 8 22:15:16 PDT 2008


I think I've found a problem with the structure of arbitration and
ResourceRequested.
The purpose of ResourceRequested is to allow an owning resource user to be
informed
that other users have requested the resource so that the owner can release
it.

There appears to be a start up condition that presents a problem.  Consider
three users of the resource, A, B, and C.

A wants to use the resource, R, but wants to release if B or C request.  A
will release
and immediately re-request.  That's the plan anyway.

Consider, A requests the resource but it hasn't been granted yet.  While A's
grant is
pending, B and C request.  Then the granting task gives A the resource.  But
there
currently isn't anyway for A to know that there are outstanding requests and
because
the requests for B and C came in prior to A actually owning the resource
the
ResourceRequested signal wasn't signaled.

Any thoughts on how to fix this?  The corner case makes it so
ResourceRequested
isn't as useful as it could be.

eric

-- 
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080808/ae3f5edc/attachment.htm 


More information about the Tinyos-devel mailing list