Compartilhar via


Context::Oversubscribe Method

Injects an additional virtual processor into a scheduler for the duration of a block of code when invoked on a context executing on one of the virtual processors in that scheduler.

static void __cdecl Oversubscribe(
   bool _BeginOversubscription
);

Parameters

  • _BeginOversubscription
    If true, an indication that an extra virtual processor should be added for the duration of the oversubscription. If false, an indication that the oversubscription should end and the previously added virtual processor should be removed.

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

Context Class

Concepts

Task Scheduler (Concurrency Runtime)