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. This document describes requirements and pitfalls on the way to use librrd in your own programs. It also gives hints for future RRD development to keep the library thread-safe.

Since RRDtool 1.6, librrd is thread-safe and no separate thread-specific library is needed.

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>