|
-
Apr 29th, 2013, 01:10 AM
#5
Re: Adding a Pause to Your Code
 Originally Posted by i00
MS depreciated them without a replacement  ... to my knowledge anyway
They didn't take that decision arbitrarily. Suspending a thread without any knowledge of where it's at is bad. You are supposed to use proper thread synchronisation techniques in their place. You can still use them if you want as they still exist right up to .NET 4.5 and may never be removed altogether. They may well not cause any problems at all in certain cases. They may cause problems in some cases though so they should not be used. It's never a good idea to use a method flagged as obsolete.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|