Monday, February 25, 2013

Threading: 10- Assigning a name to a thread

We can assign a meaningful name to the thread after creating the thread and before starting the thread.

var th = new Thread(Greet); // Create new thread
th.Name = "Greeting";

No comments:

Post a Comment