[Qt-interest] OS X HID USB events not firing outside main thread
Thiago Macieira
thiago at kde.org
Fri Jun 18 00:16:15 CEST 2010
Em Quinta-feira 17. Junho 2010, às 23.50.14, Liam Staskawicz escreveu:
> Is there something that needs to be done to kick the CFRunLoop along in a
> non-main thread? Or does the main thread subscribe exclusively to these
> events, so that nobody else has access to them? Any other thoughts?
> Thanks!
Yes, you need to write the CFRunLoop yourself.
Non-GUI threads on Mac are simple Unix threads, based around select(2). They
don't know anything about CFRunLoop.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100618/49f37de5/attachment.bin
More information about the Qt-interest-old
mailing list