Drop millisleep(10) from xread() not only on Darwin
Posted by Janusz Krzysztofik on 2011-07-10 17:22
Commit revision:6352911c20, "Fix selected Heyu commands waiting forever on Darwin", removed a millisleep(10) call from internal loop of xread() when built for Darwin. Since there were no reports about more excessive load then before on Darwin after this change, and it looks like the spool file from which the xread() is fetching data is always open in blocking mode, preventing read() calls from returning immediately if no data and the xread() internal loop from spinning, let's try dropping that millisleep(10) completely.
Home / Developer API / Tour / Get a Project - Solutions for Bug & Issue Tracking, Collaboration Tools, Subversion Hosting, Git Hosting
X10 automation for linux, unix, and mac os x is powered by Assembla.
1 Comments
By Janusz Krzysztofik on 2011-07-10 17:36
Thanks,
Janusz