Skip to content
Snippets Groups Projects
Commit b6f9756e authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

removed unused file lock.h

parent 877c27dc
No related branches found
No related tags found
No related merge requests found
......@@ -231,7 +231,6 @@ src/ieg.h -text
src/ieglib.c -text
src/institution.c -text
src/institution.h -text
src/lock.h -text
src/make_cdilib -text
src/make_fint.c -text
src/mo_cdi.f90 -text
......
#define LOCK(lock) \
{ \
if ( lock ) \
fprintf(stderr, "lock(%s:%p) already locked\n", __FILE__, __LINE__); \
lock = 1; \
}
#define UNLOCK(lock) \
{ \
if ( ! lock ) \
fprintf(stderr, "unlock(%s:%p) not locked\n", __FILE__, __LINE__); \
while ( lock == 1 ) sleep(1); \
lock = 0; \
}
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment