From: Eric Wong Date: 2011-03-15T04:52:30+09:00 Subject: [ruby-core:35497] [Ruby 1.9 - Feature #4464] [PATCH] add Fcntl::Flock object for easier use of POSIX file locks Issue #4464 has been updated by Eric Wong. This revised patch makes the API easier to use with the following changes: * renamed Fcntl::Flock -> Fcntl::Lock * Fcntl::Lock.synchronize {} and Fcntl::Lock.get helpers * ability to specify constants via :symbol (like 1.9.2+ Socket) * RDoc + examples ref: [ruby-core:35428], [ruby-core:35429] ---------------------------------------- Feature #4464: [PATCH] add Fcntl::Flock object for easier use of POSIX file locks http://redmine.ruby-lang.org/issues/4464 Author: Eric Wong Status: Open Priority: Normal Assignee: Category: ext Target version: 1.9.3 This is a subclass of String so it is compatible with IO#fcntl without needing to modify io.c for systems that don't have POSIX file locks. -- http://redmine.ruby-lang.org