diff options
Diffstat (limited to 'lib/libc_r/TEST/test_sock_2.c')
-rw-r--r-- | lib/libc_r/TEST/test_sock_2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/TEST/test_sock_2.c b/lib/libc_r/TEST/test_sock_2.c index 59c240e6ac6..7f4bdf8c736 100644 --- a/lib/libc_r/TEST/test_sock_2.c +++ b/lib/libc_r/TEST/test_sock_2.c @@ -30,7 +30,7 @@ sock_write(arg) { int fd = *(int *)arg; - pthread_set_name_np(pthread_self(), "writer"); + SET_NAME("writer"); CHECKe(write(fd, MESSAGE5, sizeof(MESSAGE5))); return(NULL); } @@ -43,7 +43,7 @@ waiter(sig) int status; pid_t pid; - pthread_set_name_np(pthread_self(), "waiter"); + SET_NAME("waiter"); CHECKr(pthread_mutex_lock(&waiter_mutex)); printf("waiting for child\n"); CHECKe(pid = wait(&status)); |