Skip to content

Add Thread#wait and Thread#wake methods - #17226

Open
ysbaddaden wants to merge 1 commit into
crystal-lang:masterfrom
ysbaddaden:feature/thread-wait-and-wake-methods
Open

Add Thread#wait and Thread#wake methods#17226
ysbaddaden wants to merge 1 commit into
crystal-lang:masterfrom
ysbaddaden:feature/thread-wait-and-wake-methods

Conversation

@ysbaddaden

@ysbaddaden ysbaddaden commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Implemented using a counting semaphore, usually either 0 (running, waiting) or 1 (wake), on both POSIX and Windows targets.

Related to #17212

Implemented using a counting semaphore, usually either 0 (running,
waiting) or 1 (wake), on both POSIX and Windows targets.
@straight-shoota straight-shoota added this to the 1.22.0 milestone Aug 12, 2026
@ysbaddaden ysbaddaden moved this from Review to Approved in Multi-threading Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Approved

Development

Successfully merging this pull request may close these issues.

2 participants