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:
parent
6dd9388545
commit
9594c893f7
1 changed files with 1 additions and 1 deletions
2
file.c
2
file.c
|
@ -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
|
||||||
* }
|
* }
|
||||||
|
|
Loading…
Reference in a new issue