SIONlib  1.7.1
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-2016 **
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 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21  int _sion_lock_register_lock_callbacks(int lock(void *), int unlock(void *), void *lockdata);
22  int _sion_lock_user_callbacks_defined();
23  int _sion_lock();
24  int _sion_unlock();
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif