From 9d6e008daa9e455db6bba843c3796b7c6f0adf0c Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 6 May 2016 23:49:01 +0200 Subject: [PATCH] grpc plugin: Use plugin_thread_create instead of pthread_create. --- src/grpc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grpc.cc b/src/grpc.cc index 0330aa0d..a82c1ec4 100644 --- a/src/grpc.cc +++ b/src/grpc.cc @@ -438,7 +438,7 @@ extern "C" { server->Start(); for (i = 0; i < workers_num; i++) { - pthread_create(&workers[i], /* attr = */ NULL, + plugin_thread_create(&workers[i], /* attr = */ NULL, worker_thread, server); } INFO("grpc: Started %zu workers", workers_num); -- 2.11.0