[rrd-users] Is rrd_fetch_fn thread-safe?

Travis Spencer travislspencer at gmail.com
Sat Mar 31 04:44:10 CEST 2007


Good Evening All,

I've examined rrd_fetch_fn and it seems that it isn't using any
globals or calling an non-thread-safe functions leading me to believe
that it's reentrant; however, I would think that it would be called
rrd_fetch_r if it were.  Plus, the docs don't list it as one that's
thread-safe (http://oss.oetiker.ch/rrdtool/prog/rrdthreads.en.html).
Can anyone who knows this code better than me confirm or deny that
it's OK to use in a multi-threaded environment?

-- 

Regards,

Travis Spencer



More information about the rrd-users mailing list