Patches: Browse | Submit New | Admin

[#19363] implement a Mutex#owner? method

Date:
2008-04-08 09:33
Priority:
3
Submitted By:
Sylvain Joyeux (lapinot)
Assigned To:
Nobuyoshi Nakada (nobu)
Category:
Language / Runtime / Core Libraries
State:
Open
Summary:
implement a Mutex#owner? method

Detailed description
See the attached patch for description. The main use-case for this method is having an easy and efficient path to implement
a recursive mutex behaviour.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-12-11 14:53
Sender: Roger Pack

feel free to submit a patch to the new bug tracker
[http://redmine.ruby-lang.org/] if this patch still applies.
Thanks!
Date: 2008-04-08 13:05
Sender: Sylvain Joyeux

Both names are perfectly fine with me ;-)
Date: 2008-04-08 12:44
Sender: Nobuyoshi Nakada 

I've thought similar Mutex#owned? method.
Do you consider #owner? is better?
Date: 2008-04-08 10:11
Sender: Shyouhei Urabe

Assigning to nobu: thread.so

Attached Files:

Name Description Download
0003-thread-implement-Mutex-owner.patch Download

Changes:

Field Old Value Date By
assigned_toshyouhei2008-04-08 10:11shyouhei
File Added3565: 0003-thread-implement-Mutex-owner.patch2008-04-08 09:33lapinot