Pradeep
Pradeep

Reputation: 4872

Methods that makes a thread to wait other than sleep() in .net

Is there any methods that makes a thread to wait, other than Thread.Sleep() in .net ?

Upvotes: 0

Views: 120

Answers (2)

Menahem
Menahem

Reputation: 4144

ManualResetEvent.WaitOne(..) ?

Upvotes: 1

Grant Thomas
Grant Thomas

Reputation: 45058

If you're managing resources on threads you can use the monitor class to wait and such Monitor.

Upvotes: 1

Related Questions