[List of FAQs] | [Android FAQ] | [Samuh Varta]
apigee, a better way to API!
[List of FAQs] | [Android FAQ] | [Samuh Varta]
Monu:
If i understand you correctly, i am using different monitors for wait and notify and so there is no coherency in signaling.
Monu:
I am thinking of creating a static object in TheSignaler class(so that it is shared amongst thread instances) and then, using its monitor, call wait() and notify(). what say?
Monu:
Also, the condition around wait() and notify() concerns a static variable which can be altered anywhere in the program. Can this cause any problems?
apigee, a better way to API!
[List of FAQs] | [Android FAQ] | [Samuh Varta]
[List of FAQs] | [Android FAQ] | [Samuh Varta]
[List of FAQs] | [Android FAQ] | [Samuh Varta]
Monu: I still have not understood why the static counter gets negative values..
apigee, a better way to API!
[List of FAQs] | [Android FAQ] | [Samuh Varta]
Don't get me started about those stupid light bulbs. |