From b267fa2867fd98d2f8864fd82efc8ad4b2276f39 Mon Sep 17 00:00:00 2001 From: Jason King Date: Fri, 5 May 2017 22:58:26 +0000 Subject: OS-7200 would like thread name API OS-7205 bhyve makefile uses wrong linker flags Reviewed by: Robert Mustacchi Reviewed by: Jason King Reviewed by: Patrick Mooney Approved by: Patrick Mooney --- usr/src/cmd/bhyve/rfb.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'usr/src/cmd/bhyve/rfb.c') diff --git a/usr/src/cmd/bhyve/rfb.c b/usr/src/cmd/bhyve/rfb.c index d96b45c5da..e8c74766fe 100644 --- a/usr/src/cmd/bhyve/rfb.c +++ b/usr/src/cmd/bhyve/rfb.c @@ -874,15 +874,8 @@ rfb_handle(struct rfb_softc *rc, int cfd) rfb_send_screen(rc, cfd, 1); perror = pthread_create(&tid, NULL, rfb_wr_thr, rc); -#ifdef __FreeBSD__ if (perror == 0) pthread_set_name_np(tid, "rfbout"); -#else - /* - * While pthread_set_name_np() remains a no-op, skip this to avoid - * compiler warnings about an empty if-statement. - */ -#endif /* Now read in client requests. 1st byte identifies type */ for (;;) { -- cgit v1.2.3