Re: [Tinyos-help] Bug in ArbiterP.nc ?

2014-06-20 Thread Roadstar Runner
Do u have the fix to ArbiterP.nc tested/ready ? On Sun, Jun 8, 2014 at 1:07 PM, Eric Decker wrote: > the arbiter protects some resource. it should have been done bye > SoftwareInit. > > the best way is to make it so the default owner is denoted by 0 so that it > gets initialized on initial b

Re: [Tinyos-help] Bug in ArbiterP.nc ?

2014-06-07 Thread Eric Decker
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

[Tinyos-help] Bug in ArbiterP.nc ?

2014-06-07 Thread Roadstar Runner
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