s-osinte-rtems.ads: Add mutex type to pthread_mutexattr_t
2009-10-16 Joel Sherrill <joel.sherrill@oarcorp.com> * s-osinte-rtems.ads: Add mutex type to pthread_mutexattr_t * s-stchop-rtems.adb: Correct binding to rtems_stack_checker_is_blown. From-SVN: r152900
This commit is contained in:
parent
f798226d9d
commit
ac2b9bbbd5
@ -1,3 +1,8 @@
|
||||
2009-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* s-osinte-rtems.ads: Add mutex type to pthread_mutexattr_t
|
||||
* s-stchop-rtems.adb: Correct binding to rtems_stack_checker_is_blown.
|
||||
|
||||
2009-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* env.c [__alpha__ && __osf__] (AES_SOURCE): Define.
|
||||
|
@ -625,6 +625,7 @@ private
|
||||
process_shared : int;
|
||||
prio_ceiling : int;
|
||||
protocol : int;
|
||||
mutex_type : int;
|
||||
recursive : int;
|
||||
end record;
|
||||
pragma Convention (C, pthread_mutexattr_t);
|
||||
|
@ -80,8 +80,9 @@ package body System.Stack_Checking.Operations is
|
||||
is
|
||||
pragma Unreferenced (Stack_Address);
|
||||
|
||||
-- RTEMS has a routine to check this. So use it.
|
||||
function rtems_stack_checker_is_blown return Interfaces.C.int;
|
||||
-- RTEMS has a routine to check if the stack is blown.
|
||||
-- It returns a C99 bool.
|
||||
function rtems_stack_checker_is_blown return Interfaces.C.unsigned_char;
|
||||
pragma Import (C,
|
||||
rtems_stack_checker_is_blown, "rtems_stack_checker_is_blown");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user