P
P
ProblemBook.NET
Search…
P
P
ProblemBook.NET
ProblemBook.NET
LANGS
Задачник.NET
ProblemBook.NET
Oop
Strings
Linq
Multithreading
“ThreadStaticVariable” (Solution)
“LockSlimInFinalizer” (Solution)
“ThreadStaticVariable” (Problem)
“LockSlimInFinalizer” (Problem)
ValueTypes
Math
Summary
Introduction
Attribution-NonCommercial-NoDerivatives 4.0 International
Powered By GitBook
“LockSlimInFinalizer” (Solution)

Answer

1
~Foo: start
2
Exception: SynchronizationLockException
3
~Foo: finish
Copied!

Explanation

A SynchronizationLockException will be thrown because the finalizer will be called from the GC thread.
​Problem​
Previous
“ThreadStaticVariable” (Solution)
Next
“ThreadStaticVariable” (Problem)
Last modified 3yr ago
Copy link
Contents
Answer
Explanation