class · System.Threading

Parallel

public class System.Threading.Parallel : System.Any

Loops whose passes run on several threads at once.

Tipo
class
Espacio de nombres
System.Threading
Ensamblado
System.Core
Acceso
public, static, abstract
Archivo fuente
Threading.ant

Herencia

Clases base
Any Parallel

Métodos

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.

Miembros heredados (5)

Código fuente

Parallel en Larva HIR, descompilado a partir de su 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