zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raúl Gutiérrez Segalés <...@itevenworks.net>
Subject Re: ZooKeeper::getState() thread safe?
Date Tue, 14 Jan 2014 17:51:17 GMT
On 14 January 2014 06:23, Kah-Chan Low <kahchanlow@yahoo.com> wrote:

> It is said that most zookeeper API functions, including getState() is
> thread safe.
> I looked at the implementation but I fail to see how it can be thread safe.
> Am I missing something?
>

http://www.javamex.com/tutorials/synchronization_volatile.shtml

-rgs

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message