Fix race in Notification Queue
Summary: When we are changing value of numActiveConsumers_ with setActive from handlerReady at the SCOPE_EXIT we have a race with reading of the same variable in putMessageImpl. Test Plan: Had a local race which works fine now. Reviewed By: davejwatson@fb.com Subscribers: trunkagent FB internal diff: D1424674
Showing
Please register or sign in to comment