Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Completable#concatWith(Completable) remove atomic operation (#1000)
Motivation: Completable#concatWith(Completable) currently uses an atomic operation to transition subscribe() from the first Completable to the second. However this is done in the contex of a Subscriber and the events should be sequenced in a [serial](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.3/README.md#1.3) fashion. Modifications: - Completable#concatWith(Completable) to use a regular variable instead of volatile/atomic operation to switch subscribers Result: Less atomic operations in Completable#concatWith(Completable).
- Loading branch information