merlimat opened a new pull request, #15725:
URL: https://github.com/apache/pulsar/pull/15725

   Fix #6477
   
   ### Motivation
   
   Currently the Python wrapper is calling blocking methods in the C++ API. 
That means that the Python interpreter thread is stuck in the blocking call 
(even if other Python threads are allowed to run), but it will prevent the 
interpreter to process any OS signals.
   
   Instead, we should use C++ async methods and check periodically for Python 
signals, so that we can unblock the interpreter when needed.
   
   ### Modifications
   
   Added wrapper functions to handle the logic of checking for the future 
completion and for the Python signal handling.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to