Skip to content

ScanSink is not threadsafe #2679

@isaac-weisberg

Description

@isaac-weisberg

There if of course no direct guarantee that operators should be thread safe in the Rx realm, and it is a matter of implementation, but at the same time the precedent of having locks inside Sinks has been set a long time ago - just look at the date on SynchronizedOnType, and it's of course used in a lot of places.

ScanSink maybe probably definitely should be internally synchronized since it owns a mutable state...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions