On 08-Apr-15 16:48, Thiago Macieira wrote:

>> Thanks for the reply. What I understand now is that while the poll for
>> reading was done away with, the poll for writing still remains. I have
>> created a bugreport at https://bugreports.qt.io/browse/QTBUG-45457 .
>> Hopefully I have explained the problem correctly there.

> Joerg, do you know how to write to a pipe on Windows without polling?

Yes, we should use an asynchronous WriteFile and get notified by an I/O 
completion port (QWinOverlappedIoNotifier).
Currently, a class named QWindowsPipeWriter is used that writes to the 
pipe in a background thread. :-/
See also QTBUG-23902.


BR,

Joerg
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to