Method: ConcurrentSHM::Value::Int32Ptr#write

Defined in:
ext/concurrent-shm/types.c

#write(value) ⇒ nil

Write to the pointer.

Parameters:

  • value (Integer)

Returns:

  • (nil)

Raises:

  • (ArgumentError)

    if the value is not an integer or boolean

  • (IntDomainError)

    if the value is greater than 2<sup>31</sup>-1 or less than -2<sup>31</sup>