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)
commit298b318acaf1147474ab9e97cac37c3608660efd
tree15e882a4aa7aca2da25935ffd8a18a537115ddb0
parent2b821e60503b38bda3a39c26ca351136e19c9ead
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/program@180 a5681a0c-68f1-0310-ab6d-d61299d08faa
25 files changed:
Makefile.am
THREADS [new file with mode: 0644]
configure.ac
src/Makefile.am
src/parsetime.c
src/rrd.h
src/rrd_cgi.c
src/rrd_create.c
src/rrd_dump.c
src/rrd_error.c
src/rrd_format.c
src/rrd_graph.c
src/rrd_graph_helper.c
src/rrd_info.c
src/rrd_is_thread_safe.h [new file with mode: 0644]
src/rrd_last.c
src/rrd_not_thread_safe.c [new file with mode: 0644]
src/rrd_open.c
src/rrd_restore.c
src/rrd_rpncalc.c
src/rrd_stat.c
src/rrd_thread_safe.c [new file with mode: 0644]
src/rrd_tool.c
src/rrd_tool.h
src/rrd_update.c