thread safety for Observable::observers_
authorJames Sedgwick <jsedgwick@fb.com>
Tue, 23 Sep 2014 13:12:18 +0000 (06:12 -0700)
committerAnton Likhtarov <alikhtarov@fb.com>
Fri, 26 Sep 2014 22:21:51 +0000 (15:21 -0700)
commit8cf3e4f8aae989f00a8a53b72cfd89898b036a36
tree317088b70ed577a78bb535b35124e60c987d849f
parent7f3dac64242050ff84ac8c025c2ee0057128c4bf
thread safety for Observable::observers_

Summary: this way we can subscribe to an observable and blast data through it simultaneously from different threads

Test Plan: not much... the one client of rx compiles

Reviewed By: davejwatson@fb.com

Subscribers: fugalh, njormrod, bmatheny

FB internal diff: D1560647
folly/experimental/wangle/rx/Observable.h
folly/experimental/wangle/rx/Subject.h
folly/experimental/wangle/rx/test/RxTest.cpp [new file with mode: 0644]