Quote Originally Posted by qball2k5
It's really just one device, the Aardvark device, but different address to read using that device.
It doesn't matter how many devices you have, QSocketNotifier should notify you when there is something to read, but of course you need a file descriptor for this.

Quote Originally Posted by qball2k5
It just stops decoding, even though I can see the reads being done.
How about these?
Qt Code:
  1. Decoder::~Decoder()
  2. {
  3. waitCondition.wakeOne();
  4. wait();
  5. }
  6.  
  7. void Decoder::DecodePacket( const QStringList &packet )
  8. {
  9. mutex.lock();
  10. decodeQueue.enqueue(packet);
  11. mutex.unlock();
  12.  
  13. waitCondition.wakeOne();
  14. }
To copy to clipboard, switch view to plain text mode