Prev: Package's private parts and protected types
Next: GNAT.Expect on Windows, without terminal window
From: Florian Weimer on 8 Feb 2010 13:30 * Robert A. Duff: > To get rid of aborts, I think you need both No_Abort_Statements > and Max_Asynchronous_Select_Nesting => 0. I believe this will > cause the overhead of abort deferral to go away, but to be sure, > you should try it. Max_Asynchronous_Select_Nesting => 0 does indeed the trick. I would never have guessed that, thanks.
From: Robert A Duff on 8 Feb 2010 15:47 Florian Weimer <fw(a)deneb.enyo.de> writes: > * Robert A. Duff: > >> To get rid of aborts, I think you need both No_Abort_Statements >> and Max_Asynchronous_Select_Nesting => 0. I believe this will >> cause the overhead of abort deferral to go away, but to be sure, >> you should try it. > > Max_Asynchronous_Select_Nesting => 0 does indeed the trick. Don't you need No_Abort_Statements as well? >...I would > never have guessed that, thanks. You're welcome. What goes on at run time for a select-then-abort is very similar to what goes on for aborting a task. Deferring aborts applies to both. - Bob
First
|
Prev
|
Pages: 1 2 Prev: Package's private parts and protected types Next: GNAT.Expect on Windows, without terminal window |