Last change
on this file since 388 was 388, checked in by coas-nagasima, 5 years ago |
Azure IoT Hub Device C SDK を使ったサンプルの追加
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
-
Property svn:mime-type
set to
text/x-csrc
|
File size:
186 bytes
|
Rev | Line | |
---|
[388] | 1 | #include "stdio_impl.h"
|
---|
| 2 | #include "pthread_impl.h"
|
---|
| 3 |
|
---|
| 4 | void flockfile(FILE *f)
|
---|
| 5 | {
|
---|
| 6 | while (ftrylockfile(f)) {
|
---|
| 7 | int owner = f->lock;
|
---|
| 8 | if (owner) __wait(&f->lock, &f->waiters, owner, 1);
|
---|
| 9 | }
|
---|
| 10 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.