diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-11-16 01:01:37 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-11-16 01:01:37 (GMT) |
commit | 671187fd2b53c916f444e849a2fd57bac06552f8 (patch) | |
tree | a1a723b81dda3c967a597a9d7477806e4fcfa706 /src/H5.c | |
parent | e70783203ab603627147c565d0fe08ddbe103981 (diff) | |
download | hdf5-671187fd2b53c916f444e849a2fd57bac06552f8.zip hdf5-671187fd2b53c916f444e849a2fd57bac06552f8.tar.gz hdf5-671187fd2b53c916f444e849a2fd57bac06552f8.tar.bz2 |
[svn-r11733] Purpose:
Code cleanup
Description:
Added some comments about the thread-specific memory for the error and
function stacks.
Changed H5close() to not use the function stack (since it causes it to
be re-enabled after shutting it down)
Changed thread-safe semaphore code to not use dynamicly allocated memory.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Linux 2.4
Too minor to require h5committest
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -720,16 +720,16 @@ herr_t H5close(void) { /* - * Don't call FUNC_ENTER() since we don't want to initialize the whole - * thing just to release it all right away. It is safe to call this - * function for an uninitialized library. + * Don't call normal FUNC_ENTER() since we don't want to initialize the + * whole library just to release it all right away. It is safe to call + * this function for an uninitialized library. */ - FUNC_ENTER_API_NOINIT(H5close) + FUNC_ENTER_API_NOINIT_NOFS(H5close) H5TRACE0("e",""); H5_term_library(); - FUNC_LEAVE_API(SUCCEED) + FUNC_LEAVE_API_NOFS(SUCCEED) } |