mailing list of musl libc
 help / color / mirror / code / Atom feed
3176e484d09a9c0a5d3231633d96663eeae47bb1 blob 332 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_signal(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_signal, pthread_cond_signal);
debug log:

solving d1d3c77 ...
found d1d3c77 in https://inbox.vuxu.org/musl/1409177505.4476.75.camel@eris.loria.fr/
found 119c00a in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 119c00abcd9904b46fa7eabbc6093dfb736df276	src/thread/pthread_cond_signal.c

applying [1/1] https://inbox.vuxu.org/musl/1409177505.4476.75.camel@eris.loria.fr/
diff --git a/src/thread/pthread_cond_signal.c b/src/thread/pthread_cond_signal.c\r
index 119c00a..d1d3c77 100644\r

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

index at:
100644 3176e484d09a9c0a5d3231633d96663eeae47bb1	src/thread/pthread_cond_signal.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).