Next Previous Up Top Contents Index

conditional-update!

atomic-decrement!

Function macro

Summary

Atomically decrements a place containing a numeric value.

Macro call

atomic-decrement!(place) 
atomic-decrement!(place, by) 

Arguments

place
A Dylan variable-namebnf.

If the implementation provides the extended form of conditional-update!, place can also be a function call.

by
An instance of <object>. Default value: 1.

Values

new-value
An instance of <object>.

Library

threads 

Module

threads 

Description

Atomically decrements a place containing a numeric value. It has the same semantics as atomic-increment! with the exception that the place is decremented.


Common Dylan and Functional Extensions - 31 Mar 00

Next Previous Up Top Contents Index