chickadee » srfi-18 » condition-variable-specific-set!

condition-variable-specific-set! condition-variable objprocedure

Stores obj into the condition-variable's specific field. condition-variable-specific-set! returns an unspecified value.

    (define cv (make-condition-variable))
    (condition-variable-specific-set! cv "hello")  ==>  ''unspecified''
 
    (condition-variable-specific cv)               ==>  "hello"