<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello List,<br>
<br>
I was reading the web page <a class="moz-txt-link-freetext"
href="http://oss.oetiker.ch/rrdtool/prog/rrdthreads.en.html">http://oss.oetiker.ch/rrdtool/prog/rrdthreads.en.html</a>
<br>
about using threads and it says to use the _r calls like
rrd_update_r(). <br>
<br>
But in examing the code in rrd_update.c for version 1.4.8<br>
it appears calling rrd_update_r() will bypass the use of rrdcached.
Am I understanding this<br>
correctly? <br>
<br>
Also it looks like rrd_update() eventually calls rrd_update_r() if
it doesn't use the <br>
rrdcached daemon.<br>
From rrd_update()<br>
...<br>
<tt> if (! rrdc_is_connected(opt_daemon))<br>
{<br>
rc = rrd_update_r(argv[optind], tmplt,<br>
argc - optind - 1, (const char **) (argv +
optind + 1));<br>
}<br>
else /* we are connected */<br>
{<br>
rc = rrdc_update (argv[optind], /* file */<br>
argc - optind - 1, /* values_num */<br>
(const char *const *) (argv + optind +
1)); /* values */<br>
if (rc > 0)<br>
rrd_set_error("Failed sending the values to rrdcached:
%s",<br>
rrd_strerror (rc));<br>
}</tt><br>
...<br>
<br>
Thanks,<br>
<br>
<br>
<div class="moz-signature">-- <br>
Stephen Clark<br>
<b>NetWolves Managed Services, LLC.</b><br>
Director of Technology<br>
Phone: 813-579-3200<br>
Fax: 813-882-0209<br>
Email: <a class="moz-txt-link-abbreviated"
href="mailto:steve.clark@netwolves.com">steve.clark@netwolves.com</a><br>
<a class="moz-txt-link-freetext" href="http://www.netwolves.com">http://www.netwolves.com</a><br>
</div>
</body>
</html>