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
6f76ad88
Commit
6f76ad88
authored
Sep 20, 2012
by
Uwe Schulzweida
Browse files
listSizeExtend: init ops, val and status
parent
75af7a5a
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
6f76ad88
...
...
@@ -5,6 +5,10 @@
2012-09-20 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* listSizeExtend: init ops, val and status
2012-09-20 Thomas Jahns <jahns@dkrz.de>
* listInitialize: set mutex type to PTHREAD_MUTEX_RECURSIVE
2012-09-11 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
...
...
src/resource_handle.c
View file @
6f76ad88
...
...
@@ -211,6 +211,9 @@ void listSizeExtend()
{
listResources
[
nsp
][
i
].
resH
=
namespaceIdxEncode2
(
nsp
,
i
);
listResources
[
nsp
][
i
].
next
=
listResources
[
nsp
]
+
i
+
1
;
listResources
[
nsp
][
i
].
ops
=
NULL
;
listResources
[
nsp
][
i
].
val
=
NULL
;
listResources
[
nsp
][
i
].
status
=
RESH_UNDEFID
;
}
listResources
[
nsp
][
newListSize
-
1
].
next
=
freeListHead
[
nsp
];
...
...
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