Autor Beitrag
Cäptin Pommes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 142
Erhaltene Danke: 2



BeitragVerfasst: Mi 07.03.12 13:23 
hi,

wollte gerade nen Thread mit Suspend anhalten ... und da springt mir ins auge das, dass veraltet is und nich mehr benutzt werden soll :/
gib da empfohlene alternativen? ich selbs hab keine gefunden :(
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: Mi 07.03.12 13:39 
Die empfohlen Alternativen stehen in der Obsolet-Meldung die du erhalten hast.

"Please use other classes in System.Threading, such as Monitor, Mutex, Event, and Semaphore, to synchronize Threads or protect resources."
Kha
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3803
Erhaltene Danke: 176

Arch Linux
Python, C, C++ (vim)
BeitragVerfasst: Mi 07.03.12 19:55 
Und generell macht ein Umstieg auf die Task Parallel Library von 4.0 vieles unnötig, womit man sich davor herumschlagen musste. Suspend gehört sicher dazu.

_________________
>λ=