projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
grpc plugin: Use plugin_thread_create instead of pthread_create.
[collectd.git]
/
src
/
grpc.cc
diff --git
a/src/grpc.cc
b/src/grpc.cc
index
0330aa0
..
a82c1ec
100644
(file)
--- 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,
+ p
lugin_
thread_create(&workers[i], /* attr = */ NULL,
worker_thread, server);
}
INFO("grpc: Started %zu workers", workers_num);