Learn R Programming

WARDEN (version 2.0.6)

shared_incr: Increment a shared counter

Description

Adds delta to the value of a shared_input object and returns the new value.

Usage

shared_incr(obj, delta = 1)

Value

The new value after incrementing.

Arguments

obj

A shared_input object (constrained / shared mode).

delta

Numeric. Amount to add (default 1).