Commit Message

Before this patch, the mutex attribute was used (by Initialize_TCB from
the environment task) before it was initialized later by Initialize. This
patch creates and initializes mutex and condition variable attributes locally
when needed to avoid this problem.
The following test case should compile and execute without producing any
output when recompiling the run-time library.
gnatmake -f -q -gnato -a -gnatws initialization
---
pragma Normalize_Scalars;
procedure Initialization is
task T;
task body T is
begin
null;
end T;
begin
null;
end Initialization;
Tested on x86_64-pc-linux-gnu, committed on trunk
2011-09-02 Jose Ruiz <ruiz@adacore.com>
* s-taprop-linux.adb (Initialize_Lock, Initialize_TCB,
Initialize): Define and initialize the
mutex attributes and condition variable attributes locally.