Commit 71af2c05 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

LOCK/UNLOCK around _init_pointer

parent 2aa12865
......@@ -2,6 +2,7 @@
* grbDefGrid: change generic grid to lonlat grid
* grbScanTimestep: bug fix for unsorted codes
* LOCK/UNLOCK around _init_pointer
* Version 1.0.6 released
2006-12-14 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
......
......@@ -774,8 +774,12 @@ static void file_initialize(void)
file_list_new();
atexit(file_list_delete);
FILE_LOCK
file_init_pointer();
FILE_UNLOCK
if ( FILE_Debug ) atexit(file_table_print);
_file_init = TRUE;
......
......@@ -257,8 +257,12 @@ static void grid_initialize(void)
grid_list_new();
atexit(grid_list_delete);
GRID_LOCK
grid_init_pointer();
GRID_UNLOCK
_grid_init = TRUE;
}
......
......@@ -244,8 +244,12 @@ static void model_initialize(void)
model_list_new();
atexit(model_list_delete);
MODEL_LOCK
model_init_pointer();
MODEL_UNLOCK
_model_init = TRUE;
model_defaults();
......
......@@ -376,8 +376,12 @@ static void stream_initialize(void)
stream_list_new();
atexit(stream_list_delete);
STREAM_LOCK
stream_init_pointer();
STREAM_UNLOCK
_stream_init = TRUE;
}
......
......@@ -272,7 +272,11 @@ static void taxis_initialize(void)
taxis_list_new();
atexit(taxis_list_delete);
TAXIS_LOCK
taxis_init_pointer();
TAXIS_UNLOCK
_taxis_init = TRUE;
......
......@@ -210,8 +210,12 @@ static void vlist_initialize(void)
vlist_list_new();
atexit(vlist_list_delete);
VLIST_LOCK
vlist_init_pointer();
VLIST_UNLOCK
_vlist_init = TRUE;
}
......
......@@ -257,8 +257,12 @@ static void zaxis_initialize(void)
zaxis_list_new();
atexit(zaxis_list_delete);
ZAXIS_LOCK
zaxis_init_pointer();
ZAXIS_UNLOCK
_zaxis_init = TRUE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment