Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Ocarina
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TASTE
Ocarina
Commits
227f2ac8
Commit
227f2ac8
authored
Aug 09, 2013
by
yoogx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Add support for timed threads
parent
8ae354bd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/backends/ocarina-backends-properties.adb
src/backends/ocarina-backends-properties.adb
+4
-0
src/backends/ocarina-backends-properties.ads
src/backends/ocarina-backends-properties.ads
+2
-1
No files found.
src/backends/ocarina-backends-properties.adb
View file @
227f2ac8
...
@@ -289,6 +289,7 @@ package body Ocarina.Backends.Properties is
...
@@ -289,6 +289,7 @@ package body Ocarina.Backends.Properties is
Thread_Aperiodic_Name
:
Name_Id
;
Thread_Aperiodic_Name
:
Name_Id
;
Thread_Sporadic_Name
:
Name_Id
;
Thread_Sporadic_Name
:
Name_Id
;
Thread_Hybrid_Name
:
Name_Id
;
Thread_Hybrid_Name
:
Name_Id
;
Thread_Timed_Name
:
Name_Id
;
Thread_Background_Name
:
Name_Id
;
Thread_Background_Name
:
Name_Id
;
Time_Ps_Name
:
Name_Id
;
Time_Ps_Name
:
Name_Id
;
...
@@ -1831,6 +1832,8 @@ package body Ocarina.Backends.Properties is
...
@@ -1831,6 +1832,8 @@ package body Ocarina.Backends.Properties is
end
if
;
end
if
;
return
Thread_Hybrid
;
return
Thread_Hybrid
;
elsif
P_Name
=
Thread_Timed_Name
then
return
Thread_Timed
;
elsif
P_Name
=
Thread_Background_Name
then
elsif
P_Name
=
Thread_Background_Name
then
return
Thread_Background
;
return
Thread_Background
;
...
@@ -3234,6 +3237,7 @@ package body Ocarina.Backends.Properties is
...
@@ -3234,6 +3237,7 @@ package body Ocarina.Backends.Properties is
Thread_Aperiodic_Name
:=
Get_String_Name
(
"aperiodic"
);
Thread_Aperiodic_Name
:=
Get_String_Name
(
"aperiodic"
);
Thread_Sporadic_Name
:=
Get_String_Name
(
"sporadic"
);
Thread_Sporadic_Name
:=
Get_String_Name
(
"sporadic"
);
Thread_Hybrid_Name
:=
Get_String_Name
(
"hybrid"
);
Thread_Hybrid_Name
:=
Get_String_Name
(
"hybrid"
);
Thread_Timed_Name
:=
Get_String_Name
(
"timed"
);
Thread_Background_Name
:=
Get_String_Name
(
"background"
);
Thread_Background_Name
:=
Get_String_Name
(
"background"
);
Time_Ps_Name
:=
Get_String_Name
(
"ps"
);
Time_Ps_Name
:=
Get_String_Name
(
"ps"
);
...
...
src/backends/ocarina-backends-properties.ads
View file @
227f2ac8
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
-- --
-- --
-- S p e c --
-- S p e c --
-- --
-- --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-201
2
ESA & ISAE. --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-201
3
ESA & ISAE. --
-- --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
-- it under terms of the GNU General Public License as published by the --
...
@@ -368,6 +368,7 @@ package Ocarina.Backends.Properties is
...
@@ -368,6 +368,7 @@ package Ocarina.Backends.Properties is
Thread_Aperiodic
,
Thread_Aperiodic
,
Thread_Sporadic
,
Thread_Sporadic
,
Thread_Hybrid
,
Thread_Hybrid
,
Thread_Timed
,
Thread_Background
,
Thread_Background
,
Thread_None
);
Thread_None
);
...
...
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