Commit f15f1ff4 authored by Michael Munday's avatar Michael Munday Committed by Brad Fitzpatrick

runtime/testdata/testprogcgo: add explicit return value to signalThread

Should fix the clang builder.

Change-Id: I3ee34581b6a7ec902420de72a8a08a2426997782
Reviewed-on: https://go-review.googlesource.com/30363
Run-TryBot: Michael Munday <munday@ca.ibm.com>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent aad29eba
......@@ -31,7 +31,7 @@ static void* signalThread(void* p) {
for (i = 0; i < 100; i++) {
for (j = 0; j < ALLOCERS; j++) {
if (pthread_kill(pt[j], SIGCHLD) < 0) {
return;
return NULL;
}
}
usleep(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment