Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use 'deadlock' instead of 'blocking'#47866

Merged
sharwell merged 2 commits intomasterfrom
revert-47863-dev/shech/policheck2
Sep 24, 2020
Merged

Use 'deadlock' instead of 'blocking'#47866
sharwell merged 2 commits intomasterfrom
revert-47863-dev/shech/policheck2

Conversation

@sharwell
Copy link
Contributor

@sharwell sharwell commented Sep 19, 2020

Builds on #47863 to use 'deadlock' instead of 'blocking'.

Blocking has a different meaning from the original text, and is not accurate in this context. This revert PR will allow us to find a more appropriate alternative, if necessary.

A 'hang' in a generic term for a deadlock, livelock, or UI delay long enough that it cannot be distinguished from the first two by a user. I am not aware of a recommended replacement term for this usage, so the term used for this meaning does not currently need to change. If it is changed, it should be changed either by clarifying the specific case that applies (i.e. one of these three conditions applies, but the others do not), or by using a more correct term (i.e. 'hang' was not the correct term in the first place).

On reviewing the comment in question for this change, 'hang' appears to be the term most readily understandable to a reader, but deadlock would likely suffice. I'm marking this change ready for review on the basis that 'hang' is arguably the current best term available for this comment.

@sharwell sharwell requested a review from a team as a code owner September 19, 2020 06:04
@sharwell sharwell marked this pull request as draft September 19, 2020 06:04
@sharwell sharwell marked this pull request as ready for review September 19, 2020 16:26
@sharwell
Copy link
Contributor Author

@dotnet/roslyn-ide I verified that the tool allows the use of the term 'hang' for the purpose stated above in documentation intended for technical audiences. I believe the use in a code comment clearly buckets this as "intended for technical audiences".

@Cosifne
Copy link
Member

Cosifne commented Sep 23, 2020

If we made this, do we need to make some changes for the policheck rules? Otherwise it might keep ask us to avoid the word 'hang'

From the code itself, I guessing what 'hang' here mean is 'deadlock'? Is that precise enough to describe the scenario?

'deadlock' is a more specific technical term in this context.
@sharwell sharwell changed the title Revert "Change hang to blocking" Use 'deadlock' instead of 'blocking' Sep 23, 2020
@sharwell sharwell merged commit 02ac960 into master Sep 24, 2020
@ghost ghost added this to the Next milestone Sep 24, 2020
@sharwell sharwell deleted the revert-47863-dev/shech/policheck2 branch September 24, 2020 20:56
@Cosifne Cosifne modified the milestones: Next, 16.9.P1 Oct 12, 2020
@Youssef1313 Youssef1313 mentioned this pull request Feb 2, 2021
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.

4 participants