[svn-r7263] Purpose: bug fix for C++ caused by new error api

Description:  one variable was left out from checkin yesterday


Platforms tested: RH 8 with C++
This commit is contained in:
Raymond Lu 2003-07-25 08:52:46 -05:00
parent 23f22483b5
commit 4cc883a960
2 changed files with 1 additions and 24 deletions

View File

@ -341,7 +341,7 @@ hid_t H5E_ERR_CLS_g = FAIL;
#endif /* NEW_ERR */
#ifdef NEW_ERR
#ifndef NEW_ERR
#ifdef H5_HAVE_THREADSAFE
/*
* The per-thread error stack. pthread_once() initializes a special

View File

@ -208,29 +208,6 @@ typedef struct H5E_t_new {
#define H5E_MIN_SETLOCAL_MSG_new "Error from filter \"set local\" callback"
#endif /* NEW_ERR */
#ifndef NEW_ERR
#ifdef H5_HAVE_THREADSAFE
/*
* The per-thread error stack. pthread_once() initializes a special
* key that will be used by all threads to create a stack specific to
* each thread individually. The association of stacks to threads will
* be handled by the pthread library.
*
* In order for this macro to work, H5E_get_my_stack() must be preceeded
* by "H5E_t *estack =".
*/
#define H5E_get_my_stack_new() H5E_get_stack_new()
#else /* H5_HAVE_THREADSAFE */
/*
* The current error stack. Eventually we'll have some sort of global table
* so each thread has it's own stack. The stacks will be created on demand
* when the thread first calls H5E_push(). */
H5E_t_new H5E_stack_g_new[1];
#define H5E_get_my_stack_new() (H5E_stack_g_new+0)
#endif /* H5_HAVE_THREADSAFE */
#endif /* NEW_ERR */
/*
* HERROR macro, used to facilitate error reporting between a FUNC_ENTER()
* and a FUNC_LEAVE() within a function body. The arguments are the major