The cache has a known lifetime -- default 15 seconds for "volatile" data
(like temperature readings). This can be bypassed (uncached directory) or
changed to a different timeout.

One approach might be to have you fast-polling control loop reading
uncached, and your monitoring thread reading cached data. (Reading uncached
DOES update the cache).

Paul Alfille

Can you tell us what you are trying to accomplish?

On Sun, Dec 28, 2008 at 1:15 PM, Jaap Struyk <[email protected]> wrote:

> Paul Alfille schreef:
>
> > If you have more than one process accessing owfs, you wil either get
> > data from the cache,or wait until the bus is free. The 1-wire bus is
> > locked during each query, but each 1-wire bus is locked independently.
>
> So the cached data is always updated at the highest possible rate? (and
> reading uncached will only interfere with that process)
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to