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
I need Custom Login Page for Sharepoint 2013 with Active Directory Project Description: I would like to prepare a webpart or an application for Sharepoint 2013 foundation.

I am looking for learning management software (LMS) preferably in ASP.NET and Microsoft SQL/ MYSQL server as the database. The broad scope of the system could be 1. User managem

How is a property designated as read-only?  In VB.NET: Public Read-Only Property Property Name  As Return Type Get ?Your Property execution goes in here End Get End Property.

How to decide on the design consideration to take a Datagrid, datalist or repeater? So many make a blind choice of choosing datagrid directly, but that is not the right way.

Training and placement cell Project Description: It is about placement and training cell of any college. I have made this for one college. If needed, i can modify it. Student

I need Academic expert for Genetic Algorithm Project Description: Seeking academic expert for Genetic Algorithm. Please bid on this project if you will start work today. S

What are the types of dependencies in cache? Whenever you add an item to the cache, the dependency relationships is define that can force that item to be removed from the cache

Web-App Developer for Startup Project Description: I am seeking someone who is good at building dynamic sites that will run on both desktops and tablets. The core of the w

WP7 get data from public API with XML or JSON Project Description: Hello, I'm seeking someone who knows his way around using an API with XML or JSON output in a windows phone

About us in a nutshell: We are a young start-up that trade a refreshing product in the field of enterprise software and develops with the latest technologies. We love to partner wi