Skip to content

Conversation

@mauke
Copy link
Contributor

@mauke mauke commented Aug 11, 2024

Without the joins, the example won't actually deadlock and just exit when the main thread ends.

Fixes #22499.

Without the joins, the example won't actually deadlock and just exit
when the main thread ends.

Fixes Perl#22499.
@iabyn
Copy link
Contributor

iabyn commented Aug 11, 2024

LGTM

Copy link
Contributor

@jkeenan jkeenan left a comment

Choose a reason for hiding this comment

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

LGTM

@mauke mauke merged commit 70f3e00 into Perl:blead Aug 11, 2024
@mauke mauke deleted the gh-22499-perlthrtut-deadlock branch August 11, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[doc] Bug in Perl Threads tutorial section "A Thread Pitfall: Deadlocks"

4 participants