[argyllcms] Re: Spotread stalling sometimes under Windows

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Tue, 17 Nov 2015 18:04:37 +1100

François Simond wrote:

Sounds like a race condition - the thread doing the stdin read
probably got killed just as the character arrived. I don't have any
clever ideas for solving this at the moment, since stdin has
to be poll-able and also readable in other ways in other places in
the code.

Yes it appears to be that.
Do you think it would be possible to add in the stdout or stderr debug
output an equivalent of "take_emis_measurement called" that would be
the same for all sensor drivers ?


I've come up with another approach though, that may work better
for programmatic operation. Try this spotread binary:
and see if it's any better.

(It's more flakey when driven from the console with

Graeme Gill.

Other related posts: