Op 10-03-10 02:18, Paul Alfille schreef:

> C++ ?
> 
> Is all the reading in one big loop? Then how fast is your loop actually
> cycling? The filesystem does an actual call to libow and so may block while
> the temperature conversion is progressing if the cached value is old.

Yes one loop triggered twice a second, and indeed the timeout occurs on
cache refresh.
When I set timeout_volatile to 15 the system functions perfect until the
15th. second is reached.
I could remove sensors from the "1sec." adapter until it's cache refresh
is shorter then 1sec. and add them to my "fast (2x per sec.)" adapter to
balance the load but maybe you have a cleaner solution? (I never
suspected that the cached data would stall reading)

p.s. Using 2.7p28, everything above failed to build in buildroot/uclibc.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to