chickadee » concurrent-native-callbacks » dispatcher-add!

dispatcher-add! DISPATCHER CALLBACKNAME PROCEDUREprocedure

Adds a new callback to DISPATCHER with the name CALLBACKNAME (a symbol). PROCEDURE is the raw callback procedure, taking a dispatcher object and pointer to an argument block as parameters.