takraj commented on PR #1147:
URL: https://github.com/apache/plc4x/pull/1147#issuecomment-1762632048

   @hutcheb The response handlers are executed on the Netty Event Loop thread, 
similarly to user events, and packetization. With this PR, I have introduced a 
blocking wait for packetization completion, so in case of a user event handler 
or a response handler tries to send a new OPC-UA message, it will deadlock, 
because the Event Loop Thread is still in use. Thus I moved them to seperate 
threads.
   
   There might be better solutions for this, but I tried to avoid large 
architectural changes.
   
   I'll check why the tests are failing. I have run them like 1000 times on my 
PC, with success, so I guess this must be something related to a race condition 
again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to