SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
Data Structures | Macros | Typedefs | Functions
sion_lock.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <assert.h>
#include "sion.h"
#include "sion_debug.h"
#include "sion_internal.h"
#include "sion_fd.h"
#include "sion_filedesc.h"
#include "sion_printts.h"
#include "sion_lock.h"
Include dependency graph for sion_lock.c:

Go to the source code of this file.

Data Structures

struct  _sion_lock_user_cb_struct
 

Macros

#define _XOPEN_SOURCE   700
 
#define sion_assert(expr, args)   (assert(expr))
 
#define _USE_NOT_PTHREADS
 
#define SION_FDDATA_INITIALIZER   {}
 

Typedefs

typedef struct _sion_lock_user_cb_struct _sion_lock_user_cb_t
 

Functions

int _sion_lock_register_lock_callbacks (int lock(void *), int unlock(void *), void *lock_data)
 
int _sion_lock_user_callbacks_defined (void)
 
int _sion_lock (void)
 
int _sion_unlock (void)