Project

General

Profile

Actions

Feature #4532

closed

[PATCH] add IO#pread and IO#pwrite methods

Added by normalperson (Eric Wong) over 13 years ago. Updated over 7 years ago.

Status:
Closed
Target version:
[ruby-core:35566]

Description

=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 patch with tests to implement feature normalperson (Eric Wong), 03/28/2011 02:06 PM
0001-Add-IO-pread-and-IO-pwrite-methods.patch (6.8 KB) 0001-Add-IO-pread-and-IO-pwrite-methods.patch Updated patch, for current trunk (57443) avsej (Sergey Avseyev), 01/27/2017 08:29 PM
0001-Add-IO-pread-and-IO-pwrite-methods-v3.patch (6.98 KB) 0001-Add-IO-pread-and-IO-pwrite-methods-v3.patch avsej (Sergey Avseyev), 01/27/2017 08:52 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0