mailing list of musl libc
 help / color / mirror / code / Atom feed
5871cf6792584f6c6f5385cfed61da07ff77c713 blob 343 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
#include "pthread_impl.h"

int __private_cond_signal(pthread_cond_t *, int);

int __pthread_cond_broadcast(pthread_cond_t *c)
{
	if (!c->_c_shared) return __private_cond_signal(c, -1);
	if (!c->_c_waiters) return 0;
	a_inc(&c->_c_seq);
	__wake(&c->_c_seq, -1, 0);
	return 0;
}

weak_alias(__pthread_cond_broadcast, pthread_cond_broadcast);
debug log:

solving f53b41d ...
found f53b41d in https://inbox.vuxu.org/musl/1409177505.4476.75.camel@eris.loria.fr/
found 69f840f in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 69f840fb4faee7d1f402771dba6f02b157a935c5	src/thread/pthread_cond_broadcast.c

applying [1/1] https://inbox.vuxu.org/musl/1409177505.4476.75.camel@eris.loria.fr/
diff --git a/src/thread/pthread_cond_broadcast.c b/src/thread/pthread_cond_broadcast.c\r
index 69f840f..f53b41d 100644\r

Checking patch src/thread/pthread_cond_broadcast.c...
Applied patch src/thread/pthread_cond_broadcast.c cleanly.

index at:
100644 5871cf6792584f6c6f5385cfed61da07ff77c713	src/thread/pthread_cond_broadcast.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).