OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2008-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
ada
/
s-osinte-rtems.ads
diff --git
a/gcc/ada/s-osinte-rtems.ads
b/gcc/ada/s-osinte-rtems.ads
index
561e897
..
268eb43
100644
(file)
--- a/
gcc/ada/s-osinte-rtems.ads
+++ b/
gcc/ada/s-osinte-rtems.ads
@@
-6,7
+6,7
@@
-- --
-- S p e c --
-- --
-- --
-- S p e c --
-- --
--- Copyright (C) 1997-200
3
Free Software Foundation, Inc. --
+-- Copyright (C) 1997-200
8
Free Software Foundation, Inc. --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@
-194,6
+194,10
@@
package System.OS_Interface is
SCHED_RR : constant := 2;
SCHED_OTHER : constant := 0;
SCHED_RR : constant := 2;
SCHED_OTHER : constant := 0;
+ function To_Target_Priority
+ (Prio : System.Any_Priority) return Interfaces.C.int;
+ -- Maps System.Any_Priority to a POSIX priority
+
-------------
-- Process --
-------------
-------------
-- Process --
-------------
@@
-222,6
+226,7
@@
package System.OS_Interface is
type Thread_Body is access
function (arg : System.Address) return System.Address;
type Thread_Body is access
function (arg : System.Address) return System.Address;
+ pragma Convention (C, Thread_Body);
type pthread_t is private;
subtype Thread_Id is pthread_t;
type pthread_t is private;
subtype Thread_Id is pthread_t;
@@
-237,6
+242,9
@@
package System.OS_Interface is
PTHREAD_CREATE_DETACHED : constant := 0;
PTHREAD_CREATE_DETACHED : constant := 0;
+ PTHREAD_SCOPE_PROCESS : constant := 0;
+ PTHREAD_SCOPE_SYSTEM : constant := 1;
+
-----------
-- Stack --
-----------
-----------
-- Stack --
-----------
@@
-460,6
+468,7
@@
package System.OS_Interface is
pragma Import (C, pthread_getspecific, "pthread_getspecific");
type destructor_pointer is access procedure (arg : System.Address);
pragma Import (C, pthread_getspecific, "pthread_getspecific");
type destructor_pointer is access procedure (arg : System.Address);
+ pragma Convention (C, destructor_pointer);
function pthread_key_create
(key : access pthread_key_t;
function pthread_key_create
(key : access pthread_key_t;