Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
028f8d70
Commit
028f8d70
authored
Jan 16, 2016
by
yoogx
Browse files
* (Get_Bound_Processor): also accept thread components
parent
1806a2b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/backends/ocarina-backends-properties.adb
View file @
028f8d70
...
...
@@ -2223,7 +2223,9 @@ package body Ocarina.Backends.Properties is
-------------------------
function
Get_Bound_Processor
(
P
:
Node_Id
)
return
Node_Id
is
pragma
Assert
(
Is_Process_Or_Device
(
P
));
pragma
Assert
(
Is_Process_Or_Device
(
P
)
or
else
Is_Thread
(
P
));
begin
if
not
Is_Defined_Reference_Property
(
P
,
Processor_Binding
)
and
then
Is_Process
(
P
)
...
...
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