On Tuesday, 27 de September de 2011 14:42:11 Georg Rudoy wrote:
> Just as with current API for sockets, for example, using the waitFor* family
> of functions.

Those are very hard to create in a higher level of the stack. Take, for 
example, QNetworkReply: the function is simply a "return false" since it 
cannot block everything else. In order for this request to complete, other 
requests may have to complete too.

The easiest way to make it blocking is to move the asynchronous code into a 
separate thread and let it run there. But that's also the solution to making 
synchronous code asynchronous.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to