Thread.sleep(), DOT NET Programming

What is Thread.Sleep()

The Thread's execution can be paused by calling Thread.Sleep method. This Thread.Sleep() method takes an integer value which  determines how long the thread should sleep. For Example Thread.CurrentThread.Sleep(2000). You can also place a thread into the sleep state by calling Thread.Sleep (System.Threading.Timeout.Infinite) for an indeterminate amount of time .Whenever we want to interrupt this sleep we can call the Thread.Interrupt method.

Posted Date: 9/21/2012 7:38:24 AM | Location : United States







Related Discussions:- Thread.sleep(), Assignment Help, Ask Question on Thread.sleep(), Get Answer, Expert's Help, Thread.sleep() Discussions

Write discussion on Thread.sleep()
Your posts are moderated
Related Questions
What is semantic gap? Defining a useful channel includes both understanding the applications requirements and recognizing the limitations of the underlying technology. The gap

What is the meaning of object pooling? Object pooling is a method of storing a pool (group) of objects in memory that can be reused later as needed. Whenever, a new object is n

CTS(Common Type System) : In order that the two language communicate smoothly CLR has CTS (Common Type System). Example in VB you have "Integer" and in C++ you have "long" these d

#queWrite a XML with database with book details (BOOK ID, Title, Author, subject, published Year, language, vendor, price)stion..

Sorting 2 Arrays & Merging into 1 - C# Program Hello, i didn't find the correct way to implement Array in my project. I am beginner for this language.  Please suggest me some

What is triple constraint triangle?   Figure: -Project Management Triangle The Project Management triangle is depicted as Cost, Schedule & scope. These 3 aspects for

The Events are always public as they are meant to serve each one registering to it. But you can access modifiers in the events.You may have events with protected keyword which will

The costumer is an application that tracks production costuming, structure and other related pieces. We discussed this in detail and you have commentary and video to define the pro

ILDASM When it comes to the understanding of the internals nothing can beat ILDASM. ILDASM  converts all the exe or dll into IL code. To run ILDASM you have to go to "C:\Progra

What is the difference between Convert.toString and .toString() method To know the difference between Convert.toString and .toString() see the below code : int i =0; Mess