When entering the method triggerCallbacks in the Subscriber module, there is a potential deadlock.
If messages arrive at higher rate than they are processed by the callbacks, the loop will never exit.
The deadlock happens, if two subscriber have to be checked, but only one will be checked because of its fast incoming messages.
If only a finite amount of messages is considered, the deadlock will be avoided.
When entering the method triggerCallbacks in the Subscriber module, there is a potential deadlock. If messages arrive at higher rate than they are processed by the callbacks, the loop will never exit. The deadlock happens, if two subscriber have to be checked, but only one will be checked because of its fast incoming messages.
If only a finite amount of messages is considered, the deadlock will be avoided.