diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-19 12:23:38 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-19 12:23:38 +0000 |
commit | 1a6c80a4637cced6e317c4f94a58d25f634a0116 (patch) | |
tree | 14cb24c21ec875e765b4243c9cf89edfa2fab5cc /gcc/ada/s-tposen.ads | |
parent | 06d55417eceb1645957a85d9d41110e2b41a5bfb (diff) | |
download | gcc-1a6c80a4637cced6e317c4f94a58d25f634a0116.tar.gz |
2009-06-19 Emmanuel Briot <briot@adacore.com>
* prj-ext.adb, makeutl.adb, makeutl.ads (Executable_Prefix_Path): Now
make sure we always return a name ending with a path separator.
2009-06-19 Javier Miranda <miranda@adacore.com>
* sem_ch12.adb (Instantiate_Package_Body, Instantiate_Subprogram_Body):
Save and restore the visibility of the parent when installed.
2009-06-19 Jose Ruiz <ruiz@adacore.com>
* s-tposen.ads (Protection_Entry): Replace fields L, Ceiling, and Owner
by Common which contains all these fields.
* s-tposen.adb (Initialize_Protection_Entry, Lock_Entry,
Lock_Read_Only_Entry, Timed_Protected_Single_Entry_Call, Unlock_Entry):
Remove code duplication in this package by means of calling the
equivalent code in s-taprob.
2009-06-19 Robert Dewar <dewar@adacore.com>
* a-einuoc.ads: Minor reformatting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148701 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-tposen.ads')
-rw-r--r-- | gcc/ada/s-tposen.ads | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/gcc/ada/s-tposen.ads b/gcc/ada/s-tposen.ads index 4a6e8ddeefd..8c07cfd3ac9 100644 --- a/gcc/ada/s-tposen.ads +++ b/gcc/ada/s-tposen.ads @@ -275,10 +275,9 @@ package System.Tasking.Protected_Objects.Single_Entry is private type Protection_Entry is record - L : aliased Task_Primitives.Lock; - -- The underlying lock associated with a Protection_Entries. Note that - -- you should never (un)lock Object.L directly, but instead use - -- Lock_Entry/Unlock_Entry. + Common : aliased Protection; + -- State of the protected object. This part is common to any protected + -- object, including those without entries. Compiler_Info : System.Address; -- Pointer to compiler-generated record representing protected object @@ -286,17 +285,6 @@ private Call_In_Progress : Entry_Call_Link; -- Pointer to the entry call being executed (if any) - Ceiling : System.Any_Priority; - -- Ceiling priority associated to the protected object - - Owner : Task_Id; - -- This field contains the protected object's owner. Null_Task - -- indicates that the protected object is not currently being used. - -- This information is used for detecting the type of potentially - -- blocking operations described in the ARM 9.5.1, par. 15 (external - -- calls on a protected subprogram with the same target object as that - -- of the protected action). - Entry_Body : Entry_Body_Access; -- Pointer to executable code for the entry body of the protected type |