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
/
network.c
diff --git
a/src/network.c
b/src/network.c
index
484e610
..
6b43ae7
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-3477,7
+3477,7
@@
static int network_init (void)
status = plugin_thread_create (&dispatch_thread_id,
NULL /* no attributes */,
dispatch_thread,
status = plugin_thread_create (&dispatch_thread_id,
NULL /* no attributes */,
dispatch_thread,
- NULL /* no argument */);
+ NULL /* no argument */
, "network dispatch"
);
if (status != 0)
{
char errbuf[1024];
if (status != 0)
{
char errbuf[1024];
@@
-3497,7
+3497,7
@@
static int network_init (void)
status = plugin_thread_create (&receive_thread_id,
NULL /* no attributes */,
receive_thread,
status = plugin_thread_create (&receive_thread_id,
NULL /* no attributes */,
receive_thread,
- NULL /* no argument */);
+ NULL /* no argument */
, "network recv"
);
if (status != 0)
{
char errbuf[1024];
if (status != 0)
{
char errbuf[1024];