Thread Signaling
April 28, 2020
.NET Framework built-in static methods are thread safe.When creating static methods, it is a best practice to make them thread safe. Thread Affinity Thread that instantiate an object is the only thread that is allowed to access its members. (Like WPF UI thread)One of the advantages of having thread affinity is that we may not need to use a lock to use instantiated object, since no other thread can access…