Learn R Programming

nanonext (version 1.9.0)

.dispatcher_try_gate: Dispatcher Try Gate

Description

Snapshot read of dispatcher capacity. Returns immediately, never blocks. The non-blocking counterpart to .dispatcher_gate().

Usage

.dispatcher_try_gate(disp)

Value

Logical TRUE if submission would not block (queued bytes below the memory budget set on .dispatcher_start(), or unbounded), FALSE

if at or over the budget. NULL if disp is invalid.

Arguments

disp

External pointer to dispatcher handle.