Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
1089a00a
Commit
1089a00a
authored
13 years ago
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reformatting.
From-SVN: r177116
parent
5cc9353d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
17 deletions
+15
-17
gcc/ada/s-osinte-linux.ads
+15
-17
No files found.
gcc/ada/s-osinte-linux.ads
View file @
1089a00a
...
...
@@ -120,12 +120,12 @@ package System.OS_Interface is
SIGLTHRDBG
:
constant
:=
System
.
Linux
.
SIGLTHRDBG
;
SIGADAABORT
:
constant
:=
SIGABRT
;
--
Change
this
if
you
want
to
use
another
signal
for
task
abort
.
--
SIGTERM
might
be
a
good
one
.
--
Change
this
to
use
another
signal
for
task
abort
.
SIGTERM
might
be
a
--
good
one
.
type
Signal_Set
is
array
(
Natural
range
<>)
of
Signal
;
Unmasked
:
constant
Signal_Set
:=
(
Unmasked
:
constant
Signal_Set
:=
(
SIGTRAP
,
--
To
enable
debugging
on
multithreaded
applications
,
mark
SIGTRAP
to
--
be
kept
unmasked
.
...
...
@@ -133,24 +133,22 @@ package System.OS_Interface is
SIGBUS
,
SIGTTIN
,
SIGTTOU
,
SIGTSTP
,
--
Keep
these
three
signals
unmasked
so
that
background
processes
--
and
IO
behaves
as
normal
"C"
applications
--
Keep
these
three
signals
unmasked
so
that
background
processes
and
IO
--
behaves
as
normal
"C"
applications
SIGPROF
,
--
To
avoid
confusing
the
profiler
SIGKILL
,
SIGSTOP
,
--
These
two
signals
actually
cannot
be
masked
;
--
POSIX
simply
won
't allow it.
--
These
two
signals
actually
can
't be masked (POSIX won'
t
allow
it
)
SIGLTHRRES
,
SIGLTHRCAN
,
SIGLTHRDBG
);
-- These three signals are used by GNU/LinuxThreads starting from
--
glibc
2.1 (future 2.2).
--
These
three
signals
are
used
by
GNU
/
LinuxThreads
starting
from
glibc
--
2.1
(
future
2.2
).
Reserved : constant Signal_Set :=
-- I am not sure why the following two signals are reserved.
-- I guess they are not supported by this version of GNU/Linux.
(SIGVTALRM, SIGUNUSED);
Reserved
:
constant
Signal_Set
:=
(
SIGVTALRM
,
SIGUNUSED
);
--
Not
clear
why
these
two
signals
are
reserved
.
Perhaps
they
are
not
--
supported
by
this
version
of
GNU
/
Linux
???
type
sigset_t
is
private
;
...
...
@@ -268,10 +266,10 @@ package System.OS_Interface is
Ada
.
Unchecked_Conversion
(
System
.
Address
,
Thread_Body
);
type
pthread_t
is
new
unsigned_long
;
subtype Thread_Id
is pthread_t;
subtype
Thread_Id
is
pthread_t
;
function To_pthread_t is
new Ada.Unchecked_Conversion
(unsigned_long, pthread_t);
function
To_pthread_t
is
new
Ada
.
Unchecked_Conversion
(
unsigned_long
,
pthread_t
);
type
pthread_mutex_t
is
limited
private
;
type
pthread_cond_t
is
limited
private
;
...
...
@@ -555,7 +553,7 @@ private
type pthread_mutex_t is new System.Linux.pthread_mutex_t;
type unsigned_long_long_t is mod 2 ** 64;
--
Interfaces
.
C
.
Extensions
isn
't preelaborated so cannot be with
-
ed
-- Interfaces.C.Extensions isn'
t
preelaborated
so
cannot
be
with
'
ed
type pthread_cond_t is array (0 .. 47) of unsigned_char;
pragma Convention (C, pthread_cond_t);
...
...
This diff is collapsed.
Click to expand it.
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