Skip to content

Concurrency against ArrayDeque? #3838

Closed
@cy6erGn0m

Description

@cy6erGn0m

See

rx.internal.operators.OperatorTakeLast
rx.internal.operators.TakeLastQueueProducer

What if there is OperatorTakeLast.onCompleted has already started emit loop and there is TakeLastQueueProducer.request(n) trying to run this loop as well. Shouldn't it cause concurrent access to ArrayDeque.poll/clear?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions