projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support to set the thread name.
[collectd.git]
/
src
/
ping.c
diff --git
a/src/ping.c
b/src/ping.c
index
6440849
..
66a254d
100644
(file)
--- a/
src/ping.c
+++ b/
src/ping.c
@@
-392,7
+392,7
@@
static int start_thread (void) /* {{{ */
ping_thread_loop = 1;
ping_thread_error = 0;
status = plugin_thread_create (&ping_thread_id, /* attr = */ NULL,
ping_thread_loop = 1;
ping_thread_error = 0;
status = plugin_thread_create (&ping_thread_id, /* attr = */ NULL,
- ping_thread, /* arg = */ (void *) 0);
+ ping_thread, /* arg = */ (void *) 0
, "ping"
);
if (status != 0)
{
ping_thread_loop = 0;
if (status != 0)
{
ping_thread_loop = 0;