source: asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/thread/pthread_cond_broadcast.c@ 352

Last change on this file since 352 was 352, checked in by coas-nagasima, 6 years ago

arm向けASP3版ECNLを追加

  • 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
3int __private_cond_signal(pthread_cond_t *, int);
4
5int 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.