[collectd] rrd_queue_thread issue
Florian Forster
octo at verplant.org
Wed May 27 11:29:56 CEST 2009
Hi Amit,
On Mon, May 18, 2009 at 10:46:54PM +0530, Amit Gupta wrote:
> In collectd 4.7.0, there seems to be a variable queue_thread_running
> to keep track of running threads. We can probably use that variable
> itself to avoid rrdtool plugin to be inited again.
what is the advantage of using `queue_thread_running' over using a
static variable for this purpose? Imho the approach using the static
variable yields code that is easier to read.
Regards,
-octo
--
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090527/36844e57/attachment.pgp
More information about the collectd
mailing list