NAME

rrdthreads - Provisions for linking the RRD library to use in multi-threaded programs


SYNOPSIS

Using librrd in multi-threaded programs requires some extra precautions, as the RRD library in its original form was not thread-safe at all. This document describes requirements and pitfalls on the way to use the multi-threaded version of librrd in your own programs. It also gives hints for future RRD development to keep the library thread-safe.

Currently only some RRD operations are implemented in a thread-safe way. They all end in the usual "_r" suffix.


DESCRIPTION

In order to use librrd in multi-threaded programs you must:

NOTES FOR RRD CONTRIBUTORS

Some precautions must be followed when developing RRD from now on:

CURRENTLY IMPLEMENTED THREAD SAFE FUNCTIONS

Currently there exist thread-safe variants of rrd_update, rrd_create, rrd_dump, rrd_info, rrd_last, and rrd_fetch.


AUTHOR

Peter Stamfest <peter@stamfest.at>