SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
sion_lock.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** SIONLIB http://www.fz-juelich.de/jsc/sionlib **
3 *****************************************************************************
4 ** Copyright (c) 2008-2019 **
5 ** Forschungszentrum Juelich, Juelich Supercomputing Centre **
6 ** **
7 ** See the file COPYRIGHT in the package base directory for details **
8 ****************************************************************************/
9 
14 #ifndef SION_SION_LOCK_H
15 #define SION_SION_LOCK_H
16 
17 #include "sion_const.h"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23  int _sion_lock_register_lock_callbacks(int lock(void *), int unlock(void *), void *lockdata);
24  int _sion_lock_user_callbacks_defined(void);
25  int _sion_lock(void);
26  int _sion_unlock(void);
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif