class · System.Threading

Parallel

public class System.Threading.Parallel : System.Any

Loops whose passes run on several threads at once.

Kind
class
Namespace
System.Threading
Assembly
System.Core
Access
public, static, abstract
Source file
Threading.ant

Inheritance

Base classes
Any Parallel

Methods

static method For(fromInclusive: i32, toExclusive: i32, body: func<i32> : void) -> void
#

static

body(i) for every i from fromInclusive to toExclusive, in parallel (in no set order); the calling thread takes part. An error a pass throws is thrown here, once every thread has stopped.

static method Invoke(actions: func<> : void[]) -> void
#

static

Runs each function, in parallel.

Inherited members (5)

Source

Parallel as Larva HIR, decompiled from its Larva HIR.

System.Threading.Parallel.hir
// Loops whose passes run on several threads at once.
public class System.Threading.Parallel : System.Any
{
    // body(i) for every i from `fromInclusive` to `toExclusive`, in parallel (in no set order); the calling thread
    // takes part. An error a pass throws is thrown here, once every thread has stopped.
    static method For(fromInclusive: i32, toExclusive: i32, body: func<i32> : void) -> void
    // Runs each function, in parallel.
    static method Invoke(actions: func<> : void[]) -> void
}
Esc