Açıklaması şöyle
On the same threads synchronization topic, the Task library enables several ways to wait until other tasks have finished their execution. This is a significant expansion of the usage of the Thread.Join concept.The methods Wait , WaitAll , and WhenAny are different options to hold the calling thread until other threads have finished.
Wait metodu
Örnek ver
WhenAny metodu
Örnek ver
WhenAll metodu
Task.WhenAll metodu yazısına taşıdım.
Hiç yorum yok:
Yorum Gönder