Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add another concurrency test for DataChannelRereader#784

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@JakubVanek
Copy link
Contributor

These tests are intended for scenarios where multiple threads read from one DataChannelRereader (DCR) instance at the same time. Such a thing may happen easily for singletons, likeBattery. The first DCR implementation contained a data race on thebyteBuffer contents/limits. Both current versions should no longer be susceptible to this (DCR1 issynchronized, DCR2 uses thread-local buffers).

This was previously part of#775; that PR is now dedicated to DCR2 changes.

@jabrenajabrena merged commit9c960cc intoev3dev-lang-java:sysfs_perf2Jan 3, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@JakubVanek@jabrena

[8]ページ先頭

©2009-2025 Movatter.jp