Last change
on this file since 389 was 389, checked in by coas-nagasima, 5 years ago |
ビルドが通るよう更新
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
240 bytes
|
Rev | Line | |
---|
[388] | 1 | #include "stdio_impl.h"
|
---|
| 2 | #include "pthread_impl.h"
|
---|
| 3 |
|
---|
| 4 | void __unlist_locked_file(FILE *);
|
---|
| 5 |
|
---|
| 6 | void funlockfile(FILE *f)
|
---|
| 7 | {
|
---|
| 8 | if (f->lockcount == 1) {
|
---|
| 9 | __unlist_locked_file(f);
|
---|
| 10 | f->lockcount = 0;
|
---|
| 11 | __unlockfile(f);
|
---|
| 12 | } else {
|
---|
| 13 | f->lockcount--;
|
---|
| 14 | }
|
---|
| 15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.