This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r125364 - in /trunk/gcc/ada: a-dynpri.adb s-osi...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 06 Jun 2007 10:15:00 -0000
- Subject: r125364 - in /trunk/gcc/ada: a-dynpri.adb s-osi...
Author: charlet
Date: Wed Jun 6 10:14:59 2007
New Revision: 125364
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125364
Log:
2007-04-20 Arnaud Charlet <charlet@adacore.com>
* s-taprop-vms.adb, s-taprop-hpux-dce.adb, s-taprop-vxworks.adb,
s-osprim-posix.adb, s-taprop-posix.adb, s-osprim-vxworks.adb,
s-taprop-solaris.adb, s-osprim-solaris.adb, s-taprop-dummy.adb,
s-osprim-unix.adb, s-osinte-freebsd.adb, s-osinte-freebsd.ads,
s-osinte-lynxos.adb, s-osinte-lynxos.ads, s-taprop-tru64.adb,
s-taprop-lynxos.adb, s-taprop-irix.adb, s-osinte-tru64.adb,
s-osinte-tru64.ads, s-taprop-linux.adb, s-parame.ads,
s-parame-vms-alpha.ads, s-parame-vms-ia64.ads, s-parame-hpux.ads,
s-parame-vms-restrict.ads, s-parame-ae653.ads, s-parame-vxworks.ads,
s-taprop-mingw.adb, s-osinte-lynxos-3.ads, s-osinte-lynxos-3.adb,
s-osprim-mingw.adb (Timed_Delay, Timed_Sleep): Register the base
time when entering this routine to detect a backward clock setting
(manual setting or DST adjustment), to avoid waiting for a longer delay
than needed.
(Time_Duration, To_Timeval, struct_timeval): Removed when not relevant.
Remove handling of deferred priority change, and replace by setting the
task priority directly, as required by AI-188.
Update comments.
(Max_Task_Image_Length): New constant.
Replace Warnings (Off) by Unreferenced pragma, cleaner.
(Dynamic_Priority_Support): Removed, no longer needed.
(Poll_Base_Priority_Change): Ditto.
(Set_Ceiling): Add this procedure to change the ceiling priority
associated to a lock. This is a dummy implementation because dynamic
priority ceilings are not supported by the underlying system.
* a-dynpri.adb (Set_Priority): Take into account case where Target is
accepting a RV with its priority boosted.
Remove handling of deferred priority change, and replace by setting the
task priority directly, as required by AI-188.
* s-taenca.adb (Try_To_Cancel_Entry_Call): Remove special case for
Succeeded = True.
Remove handling of deferred priority change, and replace by setting the
task priority directly, as required by AI-188.
(Wait_For_Completion, Wait_For_Call, Timed_Selective_Wait): Change state
of Self_Id earlier.
* s-tasini.ads, s-tasini.adb (Wakeup_Entry_Caller): Relax assertion.
(Poll_Base_Priority_Change): Removed.
Code clean up: use SSL.Current_Target_Exception.
* s-tasren.adb (Task_Count): Call Yield to let a chance to other tasks
to run as this is a potentially dispatching point.
(Call_Synchronous): Use Local_Defer_Abort.
(Callable): Relax assertion.
(Selective_Wait): Relax assertion in case abort is not allowed.
Remove handling of deferred priority change, and replace by setting the
task priority directly, as required by AI-188.
* s-tasuti.adb (Make_Passive): Adjust assertions.
Remove handling of deferred priority change, and replace by setting the
task priority directly, as required by AI-188.
Modified:
trunk/gcc/ada/a-dynpri.adb
trunk/gcc/ada/s-osinte-freebsd.adb
trunk/gcc/ada/s-osinte-freebsd.ads
trunk/gcc/ada/s-osinte-lynxos-3.adb
trunk/gcc/ada/s-osinte-lynxos-3.ads
trunk/gcc/ada/s-osinte-lynxos.adb
trunk/gcc/ada/s-osinte-lynxos.ads
trunk/gcc/ada/s-osinte-tru64.adb
trunk/gcc/ada/s-osinte-tru64.ads
trunk/gcc/ada/s-osprim-mingw.adb
trunk/gcc/ada/s-osprim-posix.adb
trunk/gcc/ada/s-osprim-solaris.adb
trunk/gcc/ada/s-osprim-unix.adb
trunk/gcc/ada/s-osprim-vxworks.adb
trunk/gcc/ada/s-parame-ae653.ads
trunk/gcc/ada/s-parame-hpux.ads
trunk/gcc/ada/s-parame-vms-alpha.ads
trunk/gcc/ada/s-parame-vms-ia64.ads
trunk/gcc/ada/s-parame-vms-restrict.ads
trunk/gcc/ada/s-parame-vxworks.ads
trunk/gcc/ada/s-parame.ads
trunk/gcc/ada/s-taenca.adb
trunk/gcc/ada/s-taprop-dummy.adb
trunk/gcc/ada/s-taprop-hpux-dce.adb
trunk/gcc/ada/s-taprop-irix.adb
trunk/gcc/ada/s-taprop-linux.adb
trunk/gcc/ada/s-taprop-lynxos.adb
trunk/gcc/ada/s-taprop-mingw.adb
trunk/gcc/ada/s-taprop-posix.adb
trunk/gcc/ada/s-taprop-solaris.adb
trunk/gcc/ada/s-taprop-tru64.adb
trunk/gcc/ada/s-taprop-vms.adb
trunk/gcc/ada/s-taprop-vxworks.adb
trunk/gcc/ada/s-tasini.adb
trunk/gcc/ada/s-tasini.ads
trunk/gcc/ada/s-tasren.adb
trunk/gcc/ada/s-tasuti.adb