diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-03 00:10:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-03 00:10:50 +0000 |
commit | 8109114b18f76d8427f701c3705186632609be01 (patch) | |
tree | 8b594418d120c01d7ff66fd21bac3a6c5d9ac247 /doc/contributors.rdoc | |
parent | 78ad438f0aab566e0e8153536dadbd67e5f0b6ad (diff) | |
download | ruby-8109114b18f76d8427f701c3705186632609be01.tar.gz |
Add IO#pread and IO#pwrite methods
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.
Based on patches by Avseyev <sergey.avseyev@gmail.com> at
[ruby-core:79290]. [Feature #4532]
* configure.in: check for pwrite(2). pread() is already used
internally for IO.copy_stream.
* io.c: implement wrappers for pread(2) and pwrite(2) and expose
them in IO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/contributors.rdoc')
-rw-r--r-- | doc/contributors.rdoc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/contributors.rdoc b/doc/contributors.rdoc index eaec30d7d0..ec567cd35f 100644 --- a/doc/contributors.rdoc +++ b/doc/contributors.rdoc @@ -37,6 +37,9 @@ arton * He is the distributor of ActiveScriptRuby and experimental 1.9.0-x installers for win32. * Wrote patches for win32ole, gc.c, tmpdir.rb +Sergey Avseyev +* Added IO#pread and IO#pwrite. + == B Daniel Berger |