I think you have found the ping/pong bug. Namely if two users are trying to share a resource and want to give up the resource but immediately re-request it (so they ping/pong), then it doesn't work.
I have a fix but need to finish putting it together. On Sat, Jun 7, 2014 at 7:03 PM, Roadstar Runner <[email protected]> wrote: > I am not sure if this is a bug, though certainly not the behavior i > expected. > i am using FcfsArbiterC to manage my resources. . > I currently have 2 modules using interfaces Resource and > ResourceRequested.If module# 2 calls Resource.request() after module #1 > calls Resource.request() but before module#1 is granted the resource, then > ResourceRequested.requested() is never signaled. > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
