1.1 --- a/include/am-refcounting-threadsafe.h Sat Aug 31 19:52:41 2013 -0700
1.2 +++ b/include/am-refcounting-threadsafe.h Fri Sep 06 13:54:31 2013 -0700
1.3 @@ -35,12 +35,15 @@
1.4
1.5 namespace ke {
1.6
1.7 +// See the comment above Refcounted<T> for more information. This class is
1.8 +// identical, except changing the reference count is guaranteed to be atomic
1.9 +// with respect to other threads changing the reference count.
1.10 template <typename T>
1.11 class RefcountedThreadsafe
1.12 {
1.13 public:
1.14 RefcountedThreadsafe()
1.15 - : refcount_(1)
1.16 + : refcount_(0)
1.17 {
1.18 }
1.19