Subject: CVS commit: src/common/lib/libprop
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 10/03/2006 15:45:05
Module Name: src
Committed By: thorpej
Date: Tue Oct 3 15:45:04 UTC 2006
Modified Files:
src/common/lib/libprop: prop_array.c prop_bool.c prop_dictionary.c
prop_number.c prop_object.c prop_object_impl.h
Log Message:
- Add a reader-writer lock to array and dictionary objects that ensures that
the data structure is internally consistent in the face of multiple threads
accessing it concurrently. This is not designed to provide application-
level semantic consistency; applications are responsible for that locking
protocol should it be necessary.
- Rename _PROP_MUTEX_DECL() to _PROP_MUTEX_DECL_STATIC().
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/common/lib/libprop/prop_array.c \
src/common/lib/libprop/prop_number.c
cvs rdiff -r1.5 -r1.6 src/common/lib/libprop/prop_bool.c \
src/common/lib/libprop/prop_object.c \
src/common/lib/libprop/prop_object_impl.h
cvs rdiff -r1.12 -r1.13 src/common/lib/libprop/prop_dictionary.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.