vhost: check return of pthread calls
authorJens Freimann <jfreimann@redhat.com>
Tue, 4 Jul 2017 08:50:42 +0000 (10:50 +0200)
committerYuanhan Liu <yliu@fridaylinux.org>
Tue, 4 Jul 2017 09:30:47 +0000 (11:30 +0200)
commitd6983a70e2591f1081f50949739851d8906cef96
treef552b227021ebddbf7572156f494953075aad31e
parent6846128798741f70555a6ca10133458c5491cf12
vhost: check return of pthread calls

Make sure we catch and log failed calls to pthread
functions.

Signed-off-by: Jens Freimann <jfreimann@redhat.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
lib/librte_vhost/socket.c