diff options
| author | Michael Munday <munday@ca.ibm.com> | 2016-10-05 11:24:07 -0400 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-10-05 15:36:00 +0000 |
| commit | f15f1ff46f94c70b55903963a32dfccdcbe1efe5 (patch) | |
| tree | 14dff454130a149e953db09a09899dfab3c1a7f5 /src/runtime/testdata | |
| parent | aad29eba296df2374e5f7d334d33649d01552c01 (diff) | |
| download | go-f15f1ff46f94c70b55903963a32dfccdcbe1efe5.tar.xz | |
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: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/testdata')
| -rw-r--r-- | src/runtime/testdata/testprogcgo/racesig.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/testdata/testprogcgo/racesig.go b/src/runtime/testdata/testprogcgo/racesig.go index e126b8becb..d0c1c3ce54 100644 --- a/src/runtime/testdata/testprogcgo/racesig.go +++ b/src/runtime/testdata/testprogcgo/racesig.go @@ -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); |
