Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
ee563f35
Commit
ee563f35
authored
Nov 16, 2019
by
Jerome Hugues
Browse files
* Address compilation issues
For openaadl/ocarina#244
parent
3969bbee
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/po_hi_protected.c
View file @
ee563f35
...
@@ -78,7 +78,7 @@ int __po_hi_protected_lock (__po_hi_protected_t protected_id)
...
@@ -78,7 +78,7 @@ int __po_hi_protected_lock (__po_hi_protected_t protected_id)
int
__po_hi_protected_unlock
(
__po_hi_protected_t
protected_id
)
int
__po_hi_protected_unlock
(
__po_hi_protected_t
protected_id
)
{
{
__PO_HI_INSTRUMENTATION_VCD_WRITE
(
"0l%d
\n
"
,
protected_id
);
//
__PO_HI_INSTRUMENTATION_VCD_WRITE("0l%d\n", protected_id);
if
(
__po_hi_mutex_unlock
(
&
__po_hi_protected_mutexes
[
protected_id
])
!=
__PO_HI_SUCCESS
)
if
(
__po_hi_mutex_unlock
(
&
__po_hi_protected_mutexes
[
protected_id
])
!=
__PO_HI_SUCCESS
)
{
{
__PO_HI_DEBUG_CRITICAL
(
"[PROTECTED] Error when unlock protected resource %d
\n
"
,
protected_id
);
__PO_HI_DEBUG_CRITICAL
(
"[PROTECTED] Error when unlock protected resource %d
\n
"
,
protected_id
);
...
@@ -150,7 +150,7 @@ int __po_hi_mutex_init (__po_hi_mutex_t* mutex, const __po_hi_mutex_protocol_t p
...
@@ -150,7 +150,7 @@ int __po_hi_mutex_init (__po_hi_mutex_t* mutex, const __po_hi_mutex_protocol_t p
case
__PO_HI_MUTEX_REGULAR
:
case
__PO_HI_MUTEX_REGULAR
:
//case __PO_HI_PROTECTED_PCP:
//case __PO_HI_PROTECTED_PCP:
//case __PO_HI_PROTECTED_INVALID:
//case __PO_HI_PROTECTED_INVALID:
break
;
break
;
}
}
...
...
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