| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
certain obscure
situations).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
if allocation fails.
|
|
|
|
|
|
|
|
|
|
|
|
| |
correct for all
platforms. Also, it's not entirely certain that a value of 0 isn't a
valid thread ID. So, I changed the pthread_t object to be a pointer to
pthread_t with the appropriate memory management this entails. Part of
the validity of this approach rests on the fact that one can assign a
variable which is a structure to another variable of the same type and
all fields within will be copied appropriately...See! C *does* do some
things correctly :-).
|
| |
|
|
|
|
|
|
| |
found only
in Windows.
|
|
|
|
|
|
| |
only is
manifesting on Windows, so it's a bit of a remote-control problem...)
|
|
|
|
|
|
| |
objects
correctly and also corrected incorrect test in H5AC_flush
|
|
|
|
|
|
|
|
| |
objects being
cached instead of in separate structures. This reduces the amount of memory
the hash table uses by about half. This is the initial step along the path of
speeding up the metadata caching.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
return 0 on success and non-zero on failure. That's what happens with
these calls.
There was a problem compiling threading on Linux. The pthread_t type is
not consistent among different implementations, so it cannot simply be
assigned to NULL or tested against it. I initialize it by calling
HDmemset(foo_thread, 0, sizeof(pthread_t)). To see if it's a "null"
pthread, I created a special pthread_t object (assigned to only in the
init phase and then only read...i.e., thread safe) and assigned it "null"
as above. Then I use pthread_equal() to determine if the thread is null.
|
|
|
|
| |
gmake work.
|
| |
|
|
|
|
|
|
| |
HDF5 coding
standards.
|
|
|
|
| |
scheme.
|
|
|
|
|
|
| |
that all HDF5 API functions are protected by a mutex lock. Basically,
serialized all API calls. To use it, use
configure --enable-threadsafe --with-pthread
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
** src/H5Tconv.c
** src/H5Tpkg.h
** src/H5Tpublic.h
The H5T_conv_struct_opt() function had a design flaw -- it
didn't keep information about the stride to use to step
through the temporary/background-value buffer and thus nested
invocations would clobber each other's temp buffers. This was
fixed by splitting the `stride' argument into `buf_stride' and
`bkg_stride' arguments for all the conversion functions. THIS
IS AN API CHANGE, but users will get a compiler warning when
they pass their conversion function pointer to H5Tregister().
** src/H5T.c
** src/H5Tprivate.h
Added a bkg_stride argument to the H5T_convert() definition in
order to fix a bug related to the optimized compound datatype
conversion function.
** src/H5T.c
** src/H5A.c
** src/H5D.c
** src/H5Ofill.c
** src/H5P.c
Added bkg_stride=0 argument to the H5T_convert() calls.
** test/dtypes.c
Added a test for the H5T_conv_struct_opt() bug fixed above.
** src/H5FL.c
The H5FL_term() function should return non-zero even when it
couldn't free all the free lists do to their being used by
some other package. When that other package terminates it
will return non-zero, causing H5FL_term() to be called
again. This fixes some of the `infinite loop closing library'
messages.
** tools/pdb2hdf
Uses print_version() instead of doing that itself.
** src/H5Ppublic.h
Renamed H5Pget_gc_reference() declaration to make it match the
definition.
** src/H5FDlog.c
Added API tracing macros.
Removed `const' qualifier from a `char*' member of a struct
which was allocated on the heap.
** src/H5TB.c
Added curly braces to a couple deeply-nested `if' statements
to make them clearer and to shut up the increadibly stupid and
just plain incorrect gcc warning about ambiguous `else'.
** test/titerate.c
Removed incomplete initialization in favor of memset() for one
auto variable to stop compiler warnings.
** tools/Depencencies
Regenerated to remove references to h5dumputil.c
|
|
|
|
| |
Fixed a typo in the H5Pget_gc_references function name (was H5Pget_gc_reference).
|
|
|
|
|
|
| |
Changed
the has_size check accordingly (1 wasn't allowed in the original code).
|
|
|
|
|
|
|
| |
functions in the dll.
the testhdf5dll projects were not compiling because they didn't know about these
functions
|
|
|
|
|
|
|
| |
useful for
tracking the actual I/O locations and space used in a file during an
application.
|
|
|
|
|
|
|
| |
library and
updated it for integrating with the H5 library. I'm thinking about using them
for the data-structures in some caching improvements I'm working on.
|
| |
|
|
|
|
|
|
|
|
|
| |
function. There
was also a subtle bug in the previous code. A valid size of 16K would
have been rejected since it was checking for an invalid number. The
scheme that replaces it relies on the fact that powers of two and only
powers of two have 1 bit set in binary.
|
| |
|
|
|
|
|
|
|
| |
file, which
improves performance significantly when lots of metadata I/O occurs when the
file closes.
|
|
|
|
|
|
| |
Added some more #undef's
Removed leading hyphen from H5_VERS_SUBRELEASE
|
| |
|
|
|
|
| |
Binh-Minh found.
|
|
|
|
|
|
| |
machines. They
should (hopefully) work on all platforms again now.
|
| |
|
|
|
|
| |
checked in.
|
| |
|
|
|
|
|
|
| |
which was
occurring when moving a metadata block in the file.
|
|
|
|
| |
values returned.
|
|
|
|
|
|
|
|
| |
H5Eset_auto(NULL,NULL)
has turned off error reporting in the library.
Also, changed the way property lists are managed and closed so that they
can be automatically closed when the library terminates.
|
|
|
|
|
|
|
|
|
| |
assert() macros
to double-check things. I've turned them back on again now. I also changed
the internal representation of a few struct fields to be float instead of
double, since the HP/UX 10.20 compiler was having problems with the alignment
of the doubles.
|
| |
|
| |
|
| |
|
|
|
|
| |
size 0 dimensions without corresponding unlimited dimension.
|
|
|
|
|
|
| |
herr_t, to align
them with the dataset & group iterator functions.
|
|
|
|
|
|
| |
HDfprintf. This closes
bug #401.
|
|
|
|
|
|
|
| |
more than one
level of B-tree nodes and callback functions which returned non-zero to not
work correctly.
|
| |
|
|
|
|
|
|
|
| |
several
situations which weren't tested before. Things should be both faster and
easier to understand in this code now.
|
|
|
|
|
|
|
| |
several
situations which weren't tested before. Things should be both faster and
easier to understand in this code now.
|