Skip to content
GitLab
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
1f8a150d
Commit
1f8a150d
authored
Aug 07, 2015
by
Uwe Schulzweida
Browse files
cdiStreamSetupVlist: added call to vlist_unlock(vlistID) (bug fix)
parent
e83fb5c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
1f8a150d
...
...
@@ -2,6 +2,10 @@
* Version 1.7.0 released
2015-08-07 Uwe Schulzweida
* cdiStreamSetupVlist: added call to vlist_unlock(vlistID) (bug fix)
2015-06-16 Uwe Schulzweida
* merge changes from branches/cdi-tiles [from Florian Prill]
...
...
src/stream.c
View file @
1f8a150d
...
...
@@ -2169,6 +2169,9 @@ void cdiStreamSetupVlist(stream_t *streamptr, int vlistID, int vlistIDorig)
/* increase lock counter of the original vlist by 1 */
if
(
CDI_Debug
)
Message
(
"attach vlist=%d to stream, stream vlist=%d"
,
vlistIDorig
,
vlistID
);
vlist_lock
(
vlistIDorig
);
vlist_unlock
(
vlistID
);
// why is this vlistID sometimes locked?
// without this line "cdo splitmon" gives
// Destroying of a locked object (vlistID=xx) failed
for
(
int
varID
=
0
;
varID
<
nvars
;
varID
++
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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