Hello,
Newbie here ...again
-I have Service A that starts Service B after receiving event "X" (lets say event is SMS received)
- Service A also has a global boolean : FLAG
--- Service B has a timer in it and does Task B
---- Service B then changes status of FLAG to false
-------If Flag is false - service B does nothing
Questions:
1) If Event X gets fired multiple times (multiple SMS arriving at the same time)
will the timer in Service B work as expected? I think not - since my application does a lot of wrong things when multiple events occur - but works fine one event at a time...
2) Since the global FLAG is being modified to FALSE - any ideas how this can be handled when concurrent events occur?
I hope i could illustrate my problem ...
Thanks
FlyingBag