This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] work around scheduling bug on vxworks


Tested on i686-linux, committed on trunk.

Some schedulers on some OSs (such as VxWorks) do not support the Priority
Ceiling Protocol but the Priority-Inheritance Protocol, so the scheduling of
the different tasks is not as expected. We add a dispatching point when
requeuing a task to the same protected object to compensate the scheduling
policy and give higher priority tasks the opportunity to execute.

2006-10-31  Jose Ruiz  <ruiz@adacore.com>

	* s-tpobop.adb (Requeue_Call): Introduce a dispatching point when
	requeuing to the same protected object to give higher priority tasks
	the opportunity to execute.

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]