Skip to content

Deprecate Control.Exception.blocked in favour of getMaskingState

I proposed deprecating Control.Exception.blocked in favour of getMaskingState.

The term "blocked" refers to the old way of dealing with asynchronous exceptions (block/unblock). It can also be a bit confusing to which "blocked" property it refers: blocked asynchronous exceptions, or a blocked thread.

Note that blocked is already listed in the section "(deprecated) Asynchronous exception control"

There were no objections and one +1 from Simon Marlow.

The patch is attached.

Trac metadata
Trac field Value
Version 7.0.1
Type Task
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information