dspinellis / dspinellis/effective-debugging

Page 172, Listing 8.1 (Item 60 and 62)

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
53
Forks
19
PR merge metrics
No merged PRs in 30d

Description

The listing is missing two calls to `sleep`. These are needed to make the code more deadlock-prone. The correct code can be found [here](https://github.com/dspinellis/effective-debugging/blob/f3df26024b0b0a8fedb3c48d3f37e3d272b563fc/deadlock/deadlock.cpp).

Thanks to: Toshiaki Kurokawa

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.