4a21aa68f2f903bef50748fa43bd46ac042b747a blob 214 bytes (raw)
1
2
3
4
5
6
7
8
9
10
| | #include "pthread_impl.h"
#include <threads.h>
int cnd_signal(cnd_t * cnd) {
if (cnd->_c_waiters) {
a_inc(&cnd->_c_seq);
if (cnd->_c_waiters) __wake(&cnd->_c_seq, 1, 0);
}
return thrd_success;
}
|
debug log:
solving 3967687 ...
found 3967687 in https://inbox.vuxu.org/musl/1407144603.8274.248.camel@eris.loria.fr/
applying [1/1] https://inbox.vuxu.org/musl/1407144603.8274.248.camel@eris.loria.fr/
diff --git a/src/thread/cnd_signal.c b/src/thread/cnd_signal.c\r
new file mode 100644\r
index 0000000..3967687\r
1:7: trailing whitespace.
#include "pthread_impl.h"\r
1:8: trailing whitespace.
#include <threads.h>\r
1:9: trailing whitespace.
\r
1:10: trailing whitespace.
int cnd_signal(cnd_t * cnd) {\r
1:11: trailing whitespace.
if (cnd->_c_waiters) {\r
Checking patch src/thread/cnd_signal.c...
Applied patch src/thread/cnd_signal.c cleanly.
warning: squelched 5 whitespace errors
warning: 10 lines add whitespace errors.
index at:
100644 4a21aa68f2f903bef50748fa43bd46ac042b747a src/thread/cnd_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).