libsigrok/hardware
Lars-Peter Clausen e6e8f8e053 sr: demodevice: Make read channel non-blocking
Both pipe channels are currently configured as blocking. We read from the pipe
in receive_data. Since the channel is configured as blocking we'll block in
receive_data until all data has been received. receive_data will be called from
the mainloop, so as consequence the mainloop will be blocked until the demo
device has finished sampling. This is not so much of a problem if we are
sampling in blocking mode (using sr_session_run()) and the demo device is the
only device in the session, but it will fail badly for all other configurations
(e.g. multiple devices or async sampling).

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2012-07-10 20:13:31 +02:00
..
alsa sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00
asix-sigma sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00
chronovu-la8 sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00
common sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00
demo sr: demodevice: Make read channel non-blocking 2012-07-10 20:13:31 +02:00
fx2lafw sr: fx2lafw: Free transfers in reverse order 2012-07-08 21:39:30 +02:00
genericdmm sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00
hantek-dso sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00
link-mso19 sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00
mastech-va18b sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00
openbench-logic-sniffer sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00
zeroplus-logic-cube sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00
Makefile.am sr: add genericdmm driver 2012-07-01 22:37:15 +02:00