author | Sebastian Harl <sh@tokkee.org> | |
Sun, 14 Oct 2012 15:52:39 +0000 (17:52 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 14 Oct 2012 15:52:39 +0000 (17:52 +0200) | ||
commit | 76e6392863d130ceca048eb860e4db1c9e40fee7 | |
tree | 1118678929b7cb38eee328ba10547e4fe5872a18 | tree | snapshot |
parent | 32eb98cd7911b291e6341242971142e4ef5567f4 | commit | diff |
Use plugin_thread_create() rather than pthread_create() in all plugins.
This function copies the plugin context from the calling thread to the new
thread. While this might not strictly be necessary in most/many cases, this
will make sure that any code within a plugin uses the same context
information, thus avoiding possible problems in the future.
This function copies the plugin context from the calling thread to the new
thread. While this might not strictly be necessary in most/many cases, this
will make sure that any code within a plugin uses the same context
information, thus avoiding possible problems in the future.
12 files changed:
src/amqp.c | diff | blob | history | |
src/dns.c | diff | blob | history | |
src/email.c | diff | blob | history | |
src/exec.c | diff | blob | history | |
src/gmond.c | diff | blob | history | |
src/ipmi.c | diff | blob | history | |
src/network.c | diff | blob | history | |
src/pinba.c | diff | blob | history | |
src/ping.c | diff | blob | history | |
src/python.c | diff | blob | history | |
src/rrdtool.c | diff | blob | history | |
src/unixsock.c | diff | blob | history |