Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A8D67F55 for ; Wed, 31 Aug 2011 17:13:07 +0000 (UTC) Received: (qmail 96150 invoked by uid 500); 31 Aug 2011 17:13:07 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 96114 invoked by uid 500); 31 Aug 2011 17:13:06 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 96106 invoked by uid 99); 31 Aug 2011 17:13:06 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 17:13:06 +0000 Received: from localhost (HELO mail-ww0-f46.google.com) (127.0.0.1) (smtp-auth username phunt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 17:13:06 +0000 Received: by wwg7 with SMTP id 7so1001065wwg.15 for ; Wed, 31 Aug 2011 10:13:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.174.194 with SMTP id u2mr579088wbz.106.1314810784288; Wed, 31 Aug 2011 10:13:04 -0700 (PDT) Received: by 10.227.207.146 with HTTP; Wed, 31 Aug 2011 10:13:04 -0700 (PDT) In-Reply-To: <1FDDF440-42D2-423C-8884-E9D6E26A35D9@hep.cat> References: <1FDDF440-42D2-423C-8884-E9D6E26A35D9@hep.cat> Date: Wed, 31 Aug 2011 10:13:04 -0700 Message-ID: Subject: Re: sync() From: Patrick Hunt To: user@zookeeper.apache.org Content-Type: text/plain; charset=ISO-8859-1 In the c client it's called "zoo_async" Patrick On Wed, Aug 31, 2011 at 7:05 AM, nicholas harteau wrote: > > 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 >> 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" 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 >>>> 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 >>>>> >>>>> >>>> >>> >>> > > -- > n@hep.cat (>^-^)> > > > > >