Last change
on this file since 445 was 444, checked in by coas-nagasima, 4 years ago |
muslのソースコードを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
275 bytes
|
Line | |
---|
1 | #include "pthread_impl.h"
|
---|
2 |
|
---|
3 | int __private_cond_signal(pthread_cond_t *, int);
|
---|
4 |
|
---|
5 | int pthread_cond_broadcast(pthread_cond_t *c)
|
---|
6 | {
|
---|
7 | if (!c->_c_shared) return __private_cond_signal(c, -1);
|
---|
8 | if (!c->_c_waiters) return 0;
|
---|
9 | a_inc(&c->_c_seq);
|
---|
10 | __wake(&c->_c_seq, -1, 0);
|
---|
11 | return 0;
|
---|
12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.