zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Ball <jb...@tagged.com>
Subject Re: Do implementations of Watcher need to be thread-safe?
Date Wed, 21 Jul 2010 21:47:27 GMT
Thanks!

On Wed, Jul 21, 2010 at 11:23 AM, Benjamin Reed <breed@yahoo-inc.com> wrote:
> as long as a watcher object is only used with a single ZooKeeper object it
> will be called by the same thread.
>
> ben
>
> On 07/21/2010 11:12 AM, Joshua Ball wrote:
>>
>> Hi,
>>
>> Do implementations of Watcher need to be thread-safe, or can I assume
>> that process(...) will always be called by the same thread?
>>
>> Thanks,
>> Josh "Ua" Ball
>>
>
>

Mime
View raw message