Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   C# Thread in .NET 2.0 anhalten und fortsetzen (https://www.delphipraxis.net/53595-thread-net-2-0-anhalten-und-fortsetzen.html)

faux 19. Sep 2005 17:53


Thread in .NET 2.0 anhalten und fortsetzen
 
Hallo!

Wie kann man in .NET 2.0 einen Thread ordnungsgemäß anhalten und fortsetzen?
Bei Supend() und Resume() bekomme ich folgende Warnung:

Warning
'System.Threading.Thread.Resume()' is obsolete: 'Thread.Resume has been deprecated. Please use other classes in System.Threading, such as Monitor, Mutex, Event, and Semaphore, to synchronize Threads or protect resources. http://go.microsoft.com/fwlink/?linkid=14202'


Danke schon mal.
Grüße
Faux


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:08 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz