summaryrefslogtreecommitdiffstats
path: root/src/H5Epublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-11-27 16:07:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-11-27 16:07:44 (GMT)
commitb2f85c54f3b95c76457242fa095b0375b86a9211 (patch)
treee922bf4fcb6458430a562a6605fd1f56a9c5ae23 /src/H5Epublic.h
parent0a27d163bcfee73f32d52e673fb4b2fe038bddfe (diff)
downloadhdf5-b2f85c54f3b95c76457242fa095b0375b86a9211.zip
hdf5-b2f85c54f3b95c76457242fa095b0375b86a9211.tar.gz
hdf5-b2f85c54f3b95c76457242fa095b0375b86a9211.tar.bz2
[svn-r9582] Purpose:
Add new internal data structure Description: Add an implementation of skip lists to the library (see comment in src/H5SL.c for references to the papers describing them) as a potential replacement for our current threaded, balanced binary tree container. Skip lists are much simpler to implement and should be faster to use. Also, added new error codes to release branch, so bump the minor version number to indicate that the library is no longer perfectly compatible with the 1.6.3 release. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Solaris 2.7 (arabica) Too minor to require further testing (the skip lists aren't actually used by any library code yet)
Diffstat (limited to 'src/H5Epublic.h')
-rw-r--r--src/H5Epublic.h24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/H5Epublic.h b/src/H5Epublic.h
index 3ac6fd0..bbf2e20 100644
--- a/src/H5Epublic.h
+++ b/src/H5Epublic.h
@@ -101,9 +101,9 @@ typedef enum H5E_major_t {
H5E_REFERENCE, /*References */
H5E_VFL, /*Virtual File Layer */
H5E_TBBT, /*Threaded, Balanced, Binary Trees */
- H5E_FPHDF5, /*Flexible Parallel HDF5 */
H5E_TST, /*Ternary Search Trees */
- H5E_RS /*Reference Counted Strings */
+ H5E_RS, /*Reference Counted Strings */
+ H5E_SLIST /*Skip Lists */
} H5E_major_t;
/* Declare an enumerated type which holds all the valid minor HDF error codes */
@@ -124,6 +124,8 @@ typedef enum H5E_minor_t {
H5E_ALREADYEXISTS, /*Object already exists */
H5E_CANTLOCK, /*Unable to lock object */
H5E_CANTUNLOCK, /*Unable to unlock object */
+ H5E_CANTGC, /*Unable to garbage collect */
+ H5E_CANTGETSIZE, /*Unable to compute size */
/* File accessability errors */
H5E_FILEEXISTS, /*file already exists */
@@ -159,9 +161,15 @@ typedef enum H5E_minor_t {
/* Cache related errors */
H5E_CANTFLUSH, /*Can't flush object from cache */
+ H5E_CANTSERIALIZE, /*Unable to serialize data from cache */
H5E_CANTLOAD, /*Can't load object into cache */
H5E_PROTECT, /*protected object error */
H5E_NOTCACHED, /*object not currently cached */
+ H5E_SYSTEM, /*Internal error detected */
+ H5E_CANTINS, /*Unable to insert metadata into cache */
+ H5E_CANTRENAME, /*Unable to rename metadata */
+ H5E_CANTPROTECT, /*Unable to protect metadata */
+ H5E_CANTUNPROTECT, /*Unable to unprotect metadata */
/* B-tree related errors */
H5E_NOTFOUND, /*object not found */
@@ -181,6 +189,7 @@ typedef enum H5E_minor_t {
/* Group related errors */
H5E_CANTOPENOBJ, /*Can't open object */
+ H5E_CANTCLOSEOBJ, /*Can't close object */
H5E_COMPLEN, /*name component is too long */
H5E_CWG, /*problem with current working group */
H5E_LINK, /*link count failure */
@@ -207,12 +216,11 @@ typedef enum H5E_minor_t {
H5E_MPI, /*some MPI function failed */
H5E_MPIERRSTR, /*MPI Error String */
- /* FPHDF5 errors */
- H5E_CANTMAKETREE, /*can't make a TBBT tree */
- H5E_CANTRECV, /*can't receive messages from processes */
- H5E_CANTSENDMDATA, /*can't send metadata message */
- H5E_CANTCHANGE, /*can't register change on server */
- H5E_CANTALLOC, /*can't allocate from file */
+ /* Heap errors */
+ H5E_CANTRESTORE, /*Can't restore condition */
+
+ /* TBBT errors */
+ H5E_CANTMAKETREE, /*Can't create TBBT tree */
/* I/O pipeline errors */
H5E_NOFILTER, /*requested filter is not available */