April 2017
Intermediate to advanced
564 pages
24h 7m
English
In terms of implementation, let me explain the details of coding statement and its significance. A thread does not begin executing when it is created in C# program as follows:
Thread thread = new Thread(job)
In fact, thread execution is scheduled by calling the C# Start method as follows:
thread.Start();
To sequence .NET thread processing, ThreadStart delegate is a parameter when creating a new thread instance:
ThreadStart job = new ThreadStart(ThreadJob);
Generally, worker thread is referred to describe another thread from the one that is doing the work on the current thread, which, in lots of cases, is a foreground or UI thread. It is similar to master slave execution model in computing theory. With these fundamental ...
Read now
Unlock full access