-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use EmittingPublisher in OutputStreamPublisher to remove busy waiting #1900
Use EmittingPublisher in OutputStreamPublisher to remove busy waiting #1900
Conversation
There was a lock in synchronized (invocationLock) {
if (subscriber.isClosed()) {
throw new IOException("Output stream already closed.");
}
sub.onNext(createBuffer(buffer, offset, length));
} |
d3e90dc
to
46b0dc3
Compare
bc6af96
to
1ab3bbb
Compare
Signed-off-by: Daniel Kec <daniel.kec@oracle.com> Tck compliance Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
Signed-off-by: Daniel Kec <daniel.kec@oracle.com> Deferred request callbacks after onSubscribe Signed-off-by: Daniel Kec <daniel.kec@oracle.com> Forward request callbacks in ready state Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The changes to |
Partially solving #1741, fixing race-condition in
EmittingPublisher
Added to
IoMulti
apiSigned-off-by: Daniel Kec daniel.kec@oracle.com