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

WIP Android-specific tests for WorkStealingDispatcher.#1371

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

Draft
zach-klippenstein wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromzachklipp/wsd-android-tests

Conversation

zach-klippenstein
Copy link
Collaborator

Validates behavior withDispatchers.Main and.immediate.

This can't be merged as-is, since it requires the tests to live in the android source set but that's in a different module so it can't see WSD. Need to land#1370 first.

Validates behavior with `Dispatchers.Main` and `.immediate`.This can't be merged as-is, since it requires the tests to live in theandroid source set but that's in a different module so it can't seeWSD. Need to land#1370first.
@@ -38,7 +38,7 @@ import kotlin.coroutines.resume
* delegate scheduling behavior to. This can either be a confined or unconfined dispatcher, and its
* behavior will be preserved transparently.
*/
internal open class WorkStealingDispatcher protected constructor(
public open class WorkStealingDispatcher protected constructor(
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

  • Undo this

Comment on lines -3 to +5
internal actual typealias Lock = Any
public actual typealias Lock = Any

internal actual inline fun <R> Lock.withLock(block: () -> R): R = synchronized(this, block)
public actual inline fun <R> Lock.withLock(block: () -> R): R = synchronized(this, block)
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

  • Undo this

Comment on lines -3 to +5
internal expect class Lock()
public expect class Lock()

internal expect inline fun <R> Lock.withLock(block: () -> R): R
public expect inline fun <R> Lock.withLock(block: () -> R): R
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

  • Undo this

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.

1 participant
@zach-klippenstein

[8]ページ先頭

©2009-2025 Movatter.jp