コード例 #1
0
ファイル: GC.cs プロジェクト: pedrobsaila/runtime
 /// <summary>
 /// Returns the status of a registered notification about whether a blocking garbage collection
 /// has completed. May wait indefinitely for a full collection.
 /// </summary>
 /// <param name="timeout">The timeout on waiting for a full collection</param>
 /// <returns>The status of a registered full GC notification</returns>
 public static GCNotificationStatus WaitForFullGCComplete(TimeSpan timeout)
 => WaitForFullGCComplete(WaitHandle.ToTimeoutMilliseconds(timeout));