Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
1bc174a4
Commit
1bc174a4
authored
Aug 27, 2012
by
Uwe Schulzweida
Browse files
vlist.c: vlistIsInitialized bug fix
parent
48df0636
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/vlist.c
View file @
1bc174a4
...
...
@@ -16,6 +16,7 @@
static
int
VLIST_Debug
=
0
;
static
int
vlistIsInitialized
=
0
;
static
void
vlist_initialize
(
void
);
#if defined (HAVE_LIBPTHREAD)
...
...
@@ -28,8 +29,6 @@ static pthread_once_t _vlist_init_thread = PTHREAD_ONCE_INIT;
#else
static
int
vlistIsInitialized
=
0
;
# define VLIST_INIT() \
if ( vlistIsInitialized == FALSE ) vlist_initialize()
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment