1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

rdoc update.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-02-24 23:46:39 +00:00
parent 6dd9388545
commit 9594c893f7

2
file.c
View file

@ -3511,7 +3511,7 @@ rb_thread_flock(void *data)
* } * }
* *
* # read the counter using read lock * # read the counter using read lock
* File.open("testfile", "r") {|f| * File.open("counter", "r") {|f|
* f.flock(File::LOCK_SH) * f.flock(File::LOCK_SH)
* p f.read * p f.read
* } * }