Take a look at monitor.rb in the standard Ruby distribution. It allows 
for recursive locks and almost follows Mutex's API. It has embedded RDoc 
documentation (in 1.8.0 version it contains even more information than 
in 1.6.8).

Gennady.

Sean O'Dell wrote:

> I'm running into that mutex problem, where I need the same process to be able 
> to gain the same mutex lock at several places, and it's locking itself out 
> after the first lock.  I really need to be able to call the lock recursively.  
> Is there any way to get this functionality?  Also, is there documentation 
> being maintained somewhere online so I can look this sort of thing up myself?
> 
> 	Sean O'Dell
> 
>