diff --git a/examples/dpfp_threaded.c b/examples/dpfp_threaded.c index e56ea88a..c3cac73f 100644 --- a/examples/dpfp_threaded.c +++ b/examples/dpfp_threaded.c @@ -91,7 +91,7 @@ static void *poll_thread_main(void *arg) } printf("poll thread shutting down\n"); - pthread_exit(NULL); + return NULL; } static int find_dpfp_device(void)