H5TSdevelop.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  2. * Copyright by The HDF Group. *
  3. * All rights reserved. *
  4. * *
  5. * This file is part of HDF5. The full HDF5 copyright notice, including *
  6. * terms governing use, modification, and redistribution, is contained in *
  7. * the COPYING file, which can be found at the root of the source code *
  8. * distribution tree, or in https://www.hdfgroup.org/licenses. *
  9. * If you do not have access to either file, you may request a copy from *
  10. * help@hdfgroup.org. *
  11. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  12. /*
  13. * This file contains public declarations for the H5TS (threadsafety) developer
  14. * support routines.
  15. */
  16. #ifndef H5TSdevelop_H
  17. #define H5TSdevelop_H
  18. /*****************/
  19. /* Public Macros */
  20. /*****************/
  21. /*******************/
  22. /* Public Typedefs */
  23. /*******************/
  24. /********************/
  25. /* Public Variables */
  26. /********************/
  27. /*********************/
  28. /* Public Prototypes */
  29. /*********************/
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33. /* HDF5 global library lock routines */
  34. H5_DLL herr_t H5TSmutex_acquire(unsigned int lock_count, hbool_t *acquired);
  35. H5_DLL herr_t H5TSmutex_release(unsigned int *lock_count);
  36. H5_DLL herr_t H5TSmutex_get_attempt_count(unsigned int *count);
  37. #ifdef __cplusplus
  38. }
  39. #endif
  40. #endif /* H5TSdevelop_H */