There don't seem to be any references to a sync() call in the C bindings, and I assume that the syncronous vs. asyncronous methods have more to do with threading than 'sync' in the ZK API sense.
How does one invoke sync() from the C API? On Aug 30, 2011, at 1:18 PM, Patrick Hunt wrote: > All reads. > > On Tue, Aug 30, 2011 at 10:12 AM, Jordan Zimmerman > <[email protected]> wrote: >> Thanks - if I understand correctly, this only applies to reads. Is that >> reads on data only (getData) or both data and a list of a Znode's children >> (getChildren)? >> >> On 8/30/11 10:07 AM, "Patrick Hunt" <[email protected]> wrote: >> >>> See this section of the programmers guide: >>> http://zookeeper.apache.org/doc/r3.3.3/zookeeperProgrammers.html#ch_zkGuar >>> antees >>> >>> specifically the section "Simultaneously Consistent Cross-Client Views" >>> >>> Patrick >>> >>> On Tue, Aug 30, 2011 at 9:52 AM, Jordan Zimmerman >>> <[email protected]> wrote: >>>> When/why does sync() need to be called? I've searched the archive and >>>> the >>>> docs are non-existent. Any examples would be appreciated. >>>> >>>> -JZ >>>> >>>> >>> >> >> -- [email protected] (>^-^)>
