[Bug ada/9480] Cannot "kill -TERM" programs that link the tasking runtime

oliver dot kellogg at sysde dot eads dot net gcc-bugzilla@gcc.gnu.org
Wed Oct 1 08:12:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9480



------- Additional Comments From oliver dot kellogg at sysde dot eads dot net  2003-10-01 08:12 -------
FYI, in the ACT GNATpro version 5.00a, there is a new pragma
Interrupt_State which fixes this problem.

When that pragma is inserted as shown below, the tasking program
can be killed via the TERM signal as expected:

procedure Sigterm is
   pragma Unreserve_All_Interrupts;
   pragma Interrupt_State(SIGTERM, System);  -- insert this line

   task T; --etc.
   --...
end Sigterm;



More information about the Gcc-bugs mailing list