Skip to content
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

[SR-14833] Concurrency guide recommends Task.sleep with a value that leads to crash #57180

Open
swift-ci opened this issue Jun 26, 2021 · 0 comments
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-14833
Radar None
Original Reporter alexfringes (JIRA User)
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Project Infrastructure
Labels Bug
Assignee @shahmishal
Priority Medium

md5: bc36e070f7f179a5700e731fa2b430f4

Issue Description:

The concurrency guide recommends the use of Task.sleep with a large-enough value to aid in experimentation. Values like that, however, lead to a hard-to-understand crash.

An extant issue for this crash helped me figure out what was happening: https://bugs.swift.org/browse/SR-14375

Depending on when this gets resolved, it might be worth removing the "tip" from the documentation.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

1 participant