Home | Contact | Pricing | News | Events | Partners | Mailing List | Site Map
  • Development log
  • Technical papers
  • Live docs

More Resources

Recent Papers

Browse by Technology

Dev Log Archives

Developer Center

[GNAT] Documentation of “with GNAT.Threads”

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 by Posted in Development Log, GNAT Compilation System