Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
6501432e
Commit
6501432e
authored
Mar 29, 2010
by
Hisham Muhammad
Browse files
upgrade PLPA to 1.3.2
parent
8d0fff2f
Changes
22
Expand all
Show whitespace changes
Inline
Side-by-side
plpa-1.
1
/src/plpa_map.c
→
plpa-1.
3.2
/src/
libplpa/
plpa_map.c
View file @
6501432e
This diff is collapsed.
Click to expand it.
plpa-1.
1
/src/plpa_runtime.c
→
plpa-1.
3.2
/src/
libplpa/
plpa_runtime.c
View file @
6501432e
...
...
@@ -35,7 +35,7 @@ int PLPA_NAME(init)(void)
/* Otherwise, initialize all the sybsystems */
if
(
0
!=
(
ret
=
pthread_mutex_init
(
&
mutex
,
NULL
))
||
0
!=
(
ret
=
PLPA_NAME
(
api_probe_init
)())
||
0
!=
(
ret
=
PLPA_NAME
(
map_init
)(
)))
{
0
!=
(
ret
=
PLPA_NAME
(
set_cache_behavior
)(
PLPA_NAME_CAPS
(
CACHE_USE
)
)))
{
return
ret
;
}
...
...
@@ -66,7 +66,7 @@ int PLPA_NAME(finalize)(void)
}
/* Ok, we're the last one. Cleanup. */
PLPA_NAME
(
map_finalize
)(
);
PLPA_NAME
(
set_cache_behavior
)(
PLPA_NAME_CAPS
(
CACHE_IGNORE
)
);
pthread_mutex_destroy
(
&
mutex
);
PLPA_NAME
(
initialized
)
=
0
;
return
0
;
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
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