When calling messenger.stopped() directly after messenger.start() it returns true ... until you do some messaging. This was not what I would expect. Looking at the code the stopped function reads:
public boolean stopped()
{
return _allClosed.test();
}
I was wondering if this should not be something like:
public boolean stopped()
{
return _drvier == null || _allClosed.test();
}
Or is it just my expectation that is wrong?
--
Marcel
