6.4.2 CH-Bag Operations

CHAMP bags support transients.

Method: make-transient (ch-bag)  b &key synchronized?

Makes a transient-ch-bag whose initial contents are those of b. If synchronized? is true, all operations on the transient will be serialized via locking; otherwise, the transient is not thread-safe.

Data type: transient-ch-bag

A transient CHAMP bag. Subclass of transient-bag. These print simply as:

#<TRANSIENT-CH-BAG id>

where id is a serial number to identify the instance.

Function: transient-ch-bag? x

Returns true iff x is an FSet transient CHAMP bag.