Skip to content

Make sending of out-of-band messages, like cancellation, thread-safe #903

@mrotteveel

Description

@mrotteveel

Currently, sending of out-of-band messages (i.e. cancellation) is intentionally not thread safe. However, this can cause problems, like described in #892. To fully address this, sending of messages needs to be subject to another lock in addition to the connection lock (connection lock only for normal operations). As this will require a lot of invasive changes, we should not do this in Jaybird 5 and 6.

As such, this ticket will only be done for Jaybird 7, and we will then consider a reduced solution for Jaybird 5 and/or 6 to address #892 (e.g. only extra locking within FbWireStatement implementations).

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions