Issue #4532 has been updated by Yukihiro Matsumoto.

Assignee changed from Motohiro KOSAKI to Nobuyoshi Nakada

Agreed. pread/pwrite can be useful in some cases.

Matz.


----------------------------------------
Feature #4532: [PATCH] add IO#pread and IO#pwrite methods
https://bugs.ruby-lang.org/issues/4532#change-63541

* Author: Eric Wong
* Status: Assigned
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Target version: next minor
----------------------------------------
=begin
These methods are useful for safe/concurrent file I/O in
multi-thread/process environments and also fairly standard
nowadays especially in systems supporting pthreads.

pread() is already used internally for IO.copy_stream
=end


---Files--------------------------------
0001-add-IO-pread-and-IO-pwrite-methods.patch (6.22 KB)
0001-Add-IO-pread-and-IO-pwrite-methods.patch (6.8 KB)
0001-Add-IO-pread-and-IO-pwrite-methods-v3.patch (6.98 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>