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).
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
FbWireStatementimplementations).