r125458 - in /trunk/gcc/ada: s-interr.adb s-int...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Wed Jun 6 10:46:00 GMT 2007
Author: charlet
Date: Wed Jun 6 10:46:22 2007
New Revision: 125458
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125458
Log:
2007-04-20 Jose Ruiz <ruiz@adacore.com>
Arnaud Charlet <charlet@adacore.com>
* s-taprob.adb (Unlock): Change the ceiling priority of the underlying
lock, if needed.
* s-taprop.ads (Set_Ceiling): Add this procedure to change the ceiling
priority associated to a lock.
* s-tpoben.adb ([Vulnerable_]Complete_Task, Lock_Entries): Relax
assertion to take into account case of no abort restriction.
(Initialize_Protection_Entries): Add initialization for the field
New_Ceiling associated to the protected object.
(Unlock_Entries): Change the ceiling priority of the underlying lock, if
needed.
* s-solita.adb (Get_Current_Excep): Moved back to s-tasini/s-tarest,
since this function needs to be set consistently with Update_Exception.
* s-tarest.adb (Get_Current_Excep): Moved back to s-tasini/s-tarest,
since this function needs to be set consistently with Update_Exception.
* s-taskin.ads: Update comments on
Interrupt_Server_Blocked_On_Event_Flag.
(Unbind_Handler): Fix handling of server_task wakeup
(Server_Task): Set self's state so that Unbind_Handler can take
appropriate actions.
(Common_ATCB): Now use a constant from System.Parameters to determine
the max size of the Task_Image field.
* s-tassta.adb (Task_Wrapper): Now pass the overflow guard to the
Initialize_Analyzer function.
([Vulnerable_]Complete_Task, Lock_Entries): Relax assertion to
take into account case of no abort restriction.
([Vulnerable_]Complete_Master): Modify assertion.
* s-tataat.adb (Finalize): Use the nestable versions of
Defer/Undefer_Abort.
* s-tpobop.adb (Protected_Entry_Call): Relax assertion.
* s-tpobop.ads: Update comments.
* s-tposen.adb (Protected_Single_Entry_Call): Call Lock_Entry instead
of locking the object manually, to avoid inconsistencies between
Lock/Unlock_Entry assertions.
* s-interr.ads, s-interr.adb (Server_Task): Fix race condition when
terminating
application and System.Parameters.No_Abort is True.
Update comments on Interrupt_Server_Blocked_On_Event_Flag.
(Unbind_Handler): Fix handling of server_task wakeup
(Server_Task): Set self's state so that Unbind_Handler can take
appropriate actions.
Modified:
trunk/gcc/ada/s-interr.adb
trunk/gcc/ada/s-interr.ads
trunk/gcc/ada/s-solita.adb
trunk/gcc/ada/s-taprob.adb
trunk/gcc/ada/s-taprop.ads
trunk/gcc/ada/s-tarest.adb
trunk/gcc/ada/s-taskin.ads
trunk/gcc/ada/s-tassta.adb
trunk/gcc/ada/s-tataat.adb
trunk/gcc/ada/s-tpoben.adb
trunk/gcc/ada/s-tpobop.adb
trunk/gcc/ada/s-tpobop.ads
trunk/gcc/ada/s-tposen.adb
More information about the Gcc-cvs
mailing list