Developer Center |
Tuesday September 11, 2007
If an Ada program has no tasks, and no tasking constructs other than delay statements, then by default the non-tasking version of the run-time is used. This will not work if there are foreign threads. In this case it is necessary for at least one unit to "with GNAT.Threads" to cause the tasking version of the Ada run time to be loaded. This has been true for some time, but is now properly documented in the GNAT RM and the spec of GNAT.Threads.
Posted
in Development Log, GNAT Compilation System