Le vendredi 13 septembre 2013 23:02:15 Hajime Fujita a ?crit : > However, I don't it's a good idea to do a busy loop here, because > 1) it would consume 100% of the CPU time No, it won't. poll() will *not* return immediately. > 2) it would block the message loop (I'm not sure about the real > implication of this, though) But yes. -- R?mi Denis-Courmont http://www.remlab.net/