From: "mame (Yusuke Endoh)" Date: 2012-03-27T03:24:24+09:00 Subject: [ruby-core:43716] [ruby-trunk - Feature #5371][Rejected] add marshalling support for Mutex Issue #5371 has been updated by mame (Yusuke Endoh). Status changed from Open to Rejected There is no feedback or revised proposal from OP. I close this as Rejected. -- Yusuke Endoh ---------------------------------------- Feature #5371: add marshalling support for Mutex https://bugs.ruby-lang.org/issues/5371#change-25218 Author: sunaku (Suraj Kurapati) Status: Rejected Priority: Normal Assignee: Category: core Target version: 2.0.0 Hello, Please add marshalling support for the Mutex class: $ irb >> Marshal.dump(Mutex.new) TypeError: no marshal_dump is defined for class Mutex from (irb):1:in `dump' from (irb):1 from /usr/bin/irb:12:in `
' Here is the workaround I am currently using: class Mutex def marshal_dump [] end def marshal_load array # do nothing end end Thanks for your consideration. -- http://bugs.ruby-lang.org/