On Tuesday, 27 de September de 2011 17:13:28 Oswald Buddenhagen wrote: > i wonder whether it would be possible to make a qthread subclass which > would be a generic sync wrapper for async apis, so one could dispose of > the waitFor*() in the i/o devices without requiring the users to write > lots of boilerplate code.
Making that class is easy.
Making the I/O classes work properly with being moved across threads (moving
their timers and socket notifiers) and deal with concurrent access to the I/O
buffers, that's not trivial at all.
--
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
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
