Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 45707 invoked from network); 23 Nov 2009 17:16:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Nov 2009 17:16:26 -0000 Received: (qmail 11255 invoked by uid 500); 23 Nov 2009 17:16:26 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 11218 invoked by uid 500); 23 Nov 2009 17:16:25 -0000 Mailing-List: contact zookeeper-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-user@hadoop.apache.org Delivered-To: mailing list zookeeper-user@hadoop.apache.org Received: (qmail 11208 invoked by uid 99); 23 Nov 2009 17:16:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 17:16:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of maarten@vrijheid.net designates 69.64.155.202 as permitted sender) Received: from [69.64.155.202] (HELO mail-10.name-services.com) (69.64.155.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 17:16:16 +0000 Received: from [10.0.1.11] ([145.99.206.251]) by mail-10.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 23 Nov 2009 09:15:54 -0800 Message-ID: <4B0AC34E.9020907@vrijheid.net> Date: Mon, 23 Nov 2009 18:15:58 +0100 From: Maarten Koopmans User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.1.4) Gecko/20091017 SeaMonkey/2.0 MIME-Version: 1.0 To: zookeeper-user@hadoop.apache.org Subject: legacy style watchers - or none at all Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Nov 2009 17:15:54.0697 (UTC) FILETIME=[9D67DB90:01CA6C60] X-Sender: maarten@vrijheid.net X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am coding away on yet another client interface, and I can live in a situation where I have no watchers. Callbacks into my interpreter are a bit risky as well, so I am opting for the legacy style now, wrapping the c interface in such a way that it never allows watchers on paths (and hence, callbacks). My question is: "legacy style" watchers... legacy implies they'll go? I hope not, or if so, we can get the C watcherless (I am not sure how the C API would handle a void (empty char*) pointer for a callback). I like being able to set the boolean to false for legacy style watchers - it saves me a lot of trouble. --Maarten