Closed GoogleCodeExporter closed 8 years ago
Most of the signals are defined in the QIODevice interface which QextSerialPort
inherits - it's not possible to
dynamically emit signals.
For async IO, the user doesn't need to spawn any new threads - this is handled
internally.
The code has been changing quite a bit, so there are some things that are a bit
out of date. I think a couple of
examples would go a long way, and any help would be greatly appreciated.
Original comment by lst...@gmail.com
on 23 Nov 2009 at 3:46
Didn't think to check QIODevice for the interface, though I should've. I think
the
documentation should be explicit about that and possibly run over it anyways.
As for the threading the reason I asked was because the event example explicitly
spawns a new thread. A "correct" version of this would not need this separate
thread
or is it there for some other reason?
Original comment by bryant.m...@gmail.com
on 23 Nov 2009 at 4:45
Eh - I'm not sure anybody has touched those examples in a long time. Would be
good to fix them up before the
next beta release.
Original comment by lst...@gmail.com
on 23 Nov 2009 at 9:43
[deleted comment]
@bryant.mairs
Giving a closer look into the code you will see, that threads in the event
example
are not for the serial port, but to read from the console. The serial port does
work
event driven very well without creating any thread, even in linux.
Original comment by rweick...@googlemail.com
on 1 Dec 2009 at 1:43
Original comment by dbzhang...@gmail.com
on 21 Mar 2012 at 9:04
Original issue reported on code.google.com by
bryant.m...@gmail.com
on 23 Nov 2009 at 6:35