projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8b9ad9
)
grpc plugin: Use plugin_thread_create instead of pthread_create.
author
Sebastian Harl
<sh@tokkee.org>
Fri, 6 May 2016 21:49:01 +0000
(23:49 +0200)
committer
Sebastian Harl
<sh@tokkee.org>
Mon, 30 May 2016 21:44:19 +0000
(23:44 +0200)
src/grpc.cc
patch
|
blob
|
history
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);