Hi,

From: Andrew Hunt <Andy / Toolshed.Com>
Subject: [ruby-talk:01303] Critical sections example?
Date: Thu, 10 Feb 2000 21:59:27 -0500

> What is the preferred mechanism to handle concurrent thread access to 
> variables safely?

I use MonitorMixin in /lib/ruby/monitor.rb written by Mr.Maeda. It
is used in /lib/ruby/ftplib.rb.

If you know Java's `synchronized' block notation, you may want to
use MonitorMixin. It is a good sample of Ruby's magic.

tomoyuki kosimizu
greentea / fa2.so-net.ne.jp