summaryrefslogtreecommitdiffstats
path: root/src/H5TS.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2004-09-04 21:06:48 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2004-09-04 21:06:48 (GMT)
commit922e8a4a8b84f4a04548ac2928e37d67c23c81cb (patch)
tree59f636a2755524a0d3e9a827df90d0699d5918ca /src/H5TS.c
parent45b23cfce11d5267849f0a58216cab581012b8a7 (diff)
downloadhdf5-922e8a4a8b84f4a04548ac2928e37d67c23c81cb.zip
hdf5-922e8a4a8b84f4a04548ac2928e37d67c23c81cb.tar.gz
hdf5-922e8a4a8b84f4a04548ac2928e37d67c23c81cb.tar.bz2
[svn-r9208] Purpose: Bug fix
Description: A few items were left out when tried to restore the old Error API. There are also a few minor bug fixes. Platforms tested: arabica fuss h5committest.
Diffstat (limited to 'src/H5TS.c')
-rw-r--r--src/H5TS.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5TS.c b/src/H5TS.c
index ead5962..51fc0a9 100644
--- a/src/H5TS.c
+++ b/src/H5TS.c
@@ -154,7 +154,7 @@ H5TS_mutex_lock(H5TS_mutex_t *mutex)
mutex->owner_thread = H5MM_malloc(sizeof(pthread_t));
if (!mutex->owner_thread) {
- H5E_push(NULL, "H5TS_mutex_lock", __FILE__, __LINE__,
+ H5E_push_stack(NULL, "H5TS_mutex_lock", __FILE__, __LINE__,
H5E_ERR_CLS_g, H5E_RESOURCE, H5E_NOSPACE, "memory allocation failed");
return FAIL;
}
@@ -170,7 +170,7 @@ H5TS_mutex_lock(H5TS_mutex_t *mutex)
mutex->owner_thread = H5MM_malloc(sizeof(pthread_t));
if (!mutex->owner_thread) {
- H5E_push(NULL, "H5TS_mutex_lock",
+ H5E_push_stack(NULL, "H5TS_mutex_lock",
__FILE__, __LINE__, H5E_ERR_CLS_g, H5E_RESOURCE, H5E_NOSPACE, "memory allocation failed");
return FAIL;
}
@@ -283,7 +283,7 @@ H5TS_cancel_count_inc(void)
cancel_counter = H5MM_calloc(sizeof(H5TS_cancel_t));
if (!cancel_counter) {
- H5E_push(NULL, "H5TS_cancel_count_inc",
+ H5E_push_stack(NULL, "H5TS_cancel_count_inc",
__FILE__, __LINE__, H5E_ERR_CLS_g, H5E_RESOURCE, H5E_NOSPACE, "memory allocation failed");
return FAIL;
}