Code

Find attached the patch I promised to send to you. Please note that there
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 13 Feb 2003 07:05:59 +0000 (07:05 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 13 Feb 2003 07:05:59 +0000 (07:05 +0000)
commit3af98cc6615b90380900a788afa1ade52d6954cb
tree0b63fc096fd53e3da7ae74243090004301d69a24
parent037b8e419d78cc72fadb063e40b92b5b04b84d6d
Find attached the patch I promised to send to you. Please note that there
are three new source files (src/rrd_is_thread_safe.h, src/rrd_thread_safe.c
and src/rrd_not_thread_safe.c) and the introduction of librrd_th. This
library is identical to librrd, but it contains support code for per-thread
global variables currently used for error information only. This is similar
to how errno per-thread variables are implemented.  librrd_th must be linked
alongside of libpthred

There is also a new file "THREADS", holding some documentation.

-- Peter Stamfest <peter@stamfest.at>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@180 a5681a0c-68f1-0310-ab6d-d61299d08faa
25 files changed:
program/Makefile.am
program/THREADS [new file with mode: 0644]
program/configure.ac
program/src/Makefile.am
program/src/parsetime.c
program/src/rrd.h
program/src/rrd_cgi.c
program/src/rrd_create.c
program/src/rrd_dump.c
program/src/rrd_error.c
program/src/rrd_format.c
program/src/rrd_graph.c
program/src/rrd_graph_helper.c
program/src/rrd_info.c
program/src/rrd_is_thread_safe.h [new file with mode: 0644]
program/src/rrd_last.c
program/src/rrd_not_thread_safe.c [new file with mode: 0644]
program/src/rrd_open.c
program/src/rrd_restore.c
program/src/rrd_rpncalc.c
program/src/rrd_stat.c
program/src/rrd_thread_safe.c [new file with mode: 0644]
program/src/rrd_tool.c
program/src/rrd_tool.h
program/src/rrd_update.c