Skip to content

Conversation

@glbrntt
Copy link
Contributor

@glbrntt glbrntt commented Nov 24, 2025

Motivation:

This is a follow up to 5bf841d to handle the yield task being cancelled between dropping the lock and re-acquiring it a moment later in the 'withContinuation' block.

Modifications:

  • Add an extra cancellation check when yielding with a continuation.

Result:

Fewer issues

Motivation:

This is a follow up to 5bf841d to handle the yield task being cancelled
between dropping the lock and re-acquiring it a moment later in the
'withContinuation' block.

Modifications:

- Add an extra cancellation check when yielding with a continuation.

Result:

Fewer issues
@glbrntt glbrntt requested a review from FranzBusch November 24, 2025 13:53
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Nov 24, 2025
@glbrntt glbrntt merged commit d2feeaa into apple:main Nov 25, 2025
57 checks passed
@glbrntt glbrntt changed the title Handle cancellation between dropping and reaquiring lock Handle cancellation between dropping and reacquiring lock Nov 25, 2025
@glbrntt glbrntt deleted the async-writer-cont-again branch November 25, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants