I just want to execute the OpenDDS Messenger example with 10000 "write" loops instead of 10, just to see if it runs.
After 36105 read from subscriber, it fails with error message:
ERROR: c:\users\fxj\documents\esi\dds\opendds-3.10\devguideexamples\dcps\messenger\subs criber.cpp:130: main() - wait failed! SampleInfo.(4408|11336) WARNING: DataLink::~DataLink() - link still in use by 6 entities when deleted!
I am using RTPS tranfer mode, which is much faster that infoRepo mode. Going through InfoRepo is also not working with a loop of 10000.
Error is coming from the timeout reached on the wait state. ACE_ERROR_RETURN function is stopping subscriber. Removing that error report function doesn't stop the loop which continue up to the end without issues.