[rrd-users] help with librrd_th

Stephen Hall halls at arlut.utexas.edu
Wed Jul 27 03:42:18 MEST 2005


Greetings,

   I have searched the archives and have not found this question answered.
I am trying to write a multi-threaded C program to update some RRD
databases on the fly and the RRDtool->programming->rrdthreads page tells me
that I "should" call rrd_get_context() in each thread.  However, since the
entire RRD C API seems to be undocumented I do not know how to call this
routine (or even what a good or bad return value would be).  Can someone
tell me how to call rrd_get_context() and interpret the results.  Or better
yet, can someone point me to a document that explains how to use the C API
(multi-threaded or otherwise)?  If not, then please tell me how you figured
out which routines you needed to call and how they should be called (and
how you knew what a good return value was).  Thanks!

==============================================================================
--Stephen Hall                               ma_bellnet: (512)835-3074
  Sr. Operating Systems Specialist            internet: halls at arlut.utexas.edu

   When I die I want to go peacefully. Like my grandfather did, in his sleep.
                 Not screaming like the passengers in his car.

 > > > > > > > > > > > > > Visualize Whirled Peas! < < < < < < < < < < < < < <

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list