Enable thread interrupt in finally blocks
authorKoundinya Veluri <kouvel@microsoft.com>
Sat, 14 Jan 2017 00:34:36 +0000 (16:34 -0800)
committerKoundinya Veluri <kouvel@microsoft.com>
Sat, 14 Jan 2017 01:21:19 +0000 (17:21 -0800)
commit1bcabac2180478c562c9a16259eeb6b45621ef59
tree1e59ef5752d965194e4c0b4c1cad2f9c72d5faf7
parent820ae952ab63d39786c60c0cba9a91cf8bc29579
Enable thread interrupt in finally blocks

Thread abort was not allowed in finally blocks, but the same logic was being applied to thread interrupt as well. There is nothing special about thread interrupt that requires it to not work in finally blocks.

Commit migrated from https://github.com/dotnet/coreclr/commit/626a286433b6e3ed040744746c9b851361ea9546
src/coreclr/src/vm/threads.cpp
src/coreclr/src/vm/threads.h
src/coreclr/src/vm/threadsuspend.cpp