Ruby MonitorMixin Functions

EditRocket provides the following information on MonitorMixin functions in the Ruby source code builder.

extend_object(obj) -

mon_enter() - Enters exclusive section.

mon_exit() - Leaves exclusive section.

mon_synchronize() - Enters exclusive section and executes the block. Leaves the exclusive section automatically when the block exits. See example under MonitorMixin.

mon_try_enter() - Attempts to enter exclusive section. Returns false if lock fails.

new(*args) -

new_cond() - "FIXME: This isn't documented in Nutshell."

synchronize() - "Alias for #mon_synchronize"

try_mon_enter() - "Alias for #mon_try_enter"