-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
api-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-System.Threadingbacklog-cleanup-candidateAn inactive issue that has been marked for automated closure.An inactive issue that has been marked for automated closure.no-recent-activity
Milestone
Description
Background and Motivation
Since calls from all overloads of those methods comes to this private method which takes ReadOnlySpan, it may be useful to add public overloads with ReadOnlySpans (for example to use with stackalloc)
Proposed API
public static bool WaitAll(ReadOnlySpan<WaitHandle> waitHandles, int millisecondsTimeout);
public static bool WaitAll(ReadOnlySpan<WaitHandle> waitHandles, TimeSpan timeout);
public static bool WaitAll(ReadOnlySpan<WaitHandle> waitHandles);
public static bool WaitAll(ReadOnlySpan<WaitHandle> waitHandles, int millisecondsTimeout, bool exitContext);
public static bool WaitAll(ReadOnlySpan<WaitHandle> waitHandles, TimeSpan timeout, bool exitContext);
public static int WaitAny(ReadOnlySpan<WaitHandle> waitHandles, int millisecondsTimeout);
public static int WaitAny(ReadOnlySpan<WaitHandle> waitHandles, TimeSpan timeout);
public static int WaitAny(ReadOnlySpan<WaitHandle> waitHandles);
public static int WaitAny(ReadOnlySpan<WaitHandle> waitHandles, int millisecondsTimeout, bool exitContext);
public static int WaitAny(ReadOnlySpan<WaitHandle> waitHandles, TimeSpan timeout, bool exitContext);Metadata
Metadata
Assignees
Labels
api-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-System.Threadingbacklog-cleanup-candidateAn inactive issue that has been marked for automated closure.An inactive issue that has been marked for automated closure.no-recent-activity