DESCRIPTION

SPY-155: Synchronize when future listeners are notified.

This changeset prohibits a possible race condition when listeners
are called from the callback. Proper sync has been in place for
both adding and removing, but not for notifying.

Change-Id: I4cfa0036c2b7b89985b0026c5da5dca26cc9fe52
Reviewed-on: http://review.couchbase.org/33800
Tested-by: Natasha Sullivan xxx@xxx.xxx
Reviewed-by: Andreas Short xxx@xxx.xxx


COMMENTS

author: Natasha Sullivan
date: 2014-02-25 08:32:41.883000000

Change has been successfully cherry-picked as eb7c401cd9139104264483492cc991b7453dba5b

-------------------------------------
