Skip to content

Producers / Consumers Deadlock "fix" #7

Description

@alpha7algo

Hi,

I'm looking at the BlockingQueue tutorial, particularly the change between "Safety - Detecting Deadlocks" and "Constants to Variables".
I don't get why the second version would fix the deadlock: for what I see, the space state grows bigger without excluding the deadlock sequence.

Am I missing something crucial here?

Thanks

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions