|
Allocators and memory reclamation Dmitry wrote: In my understanding Deallocate is just not called. One can enforce this behavior when there is GC by applying the pragma Controlled, but not the reverse. No, just the reverse, pragma Controlled prevents automatic garbage collection, see RM 13.11.3(1). Eurocopter Deutschland GmbH Si... 29 Jan 2008 07:56
Interfaces and private types Hi again, There is no compilation problem with the following code : package Test_Interfaces is type Int is synchronized interface; procedure Init (I : in out Int) is abstract; type T is new Int with private; private task type T is entry Init; end T; end Test_Interfaces... 1 Feb 2008 00:44
Concurrency and interfaces Hi everybody, I try to explore the Ada05 interfaces in the context of concurrency. My original question was to explore different solutions for the following problem: How to connect a task (T2) to other tasks (T11 or T12) having different functionalities depending on a given context. I abstracted the foll... 29 Jan 2008 08:31
Allocators and memory reclamation Hi, Consider the following: procedure Foo is type Int_Ptr is access Integer; P : Int_Ptr; begin P := new Integer; P := new Integer; P := new Integer; end Foo; procedure Main is begin loop Foo; end loop; end Main; In Foo above, three objects of type Integer are allocate... 29 Jan 2008 04:20
ANN: GNAT/GPL Solaris 10: 2007-solaris-x86 I've uploaded this to the GNU Ada project at SourceForge: http://sourceforge.net/project/showfiles.php?group_id=12974&package_id=260618&release_id=571804 --S ... 29 Jan 2008 03:46
Default array base index Hi, I just came across this Wikipedia page: http://en.wikipedia.org/wiki/Comparison_of_programming_languages_%28array%29 which claims that the default base index for arrays in Ada is 1. It has been over 15 years since I have written any Ada, so my memory is fuzzy, but what I recall is that there actually is... 28 Jan 2008 13:38
[anouncement] MingGW release for the GNU Ada Project Hi, well it took for ever But not it is there: A release of The GNU Ada Release. This is the first release which includes the files needed to compile ASIS, GLADE and GPS later on [1]. Like the Unix Releases this release installs into /opt and therefore won't overwrite your default MinGW compiler. The releas... 27 Jan 2008 07:55
Compilation without implementation source For an educational exercise using GNAT and gnatmake, I need to hide implementations of some modules from students in the simplest possible way. Is there a way to give them .ali, .ads, and .o files while withholding the corresponding .adb, somehow telling gnatmake (and gnatbind) to ignore the absence? Or must ... 27 Jan 2008 23:50
What is the best way to define the Imported C function Hi, I am learning Ada and try to test the interface with C. for this function, what is the best way to define the function in Ada? int xcb_parse_display(const char *name, char **host, int *display, int *screen); function parse_display (Name : String; Host: ??; Display : Integer_Ptr; Screen : Integer_Ptr) ... 28 Jan 2008 12:29
Why I hate Gtk+/GNOME (from the perspective of an Adasupporter) On Fr, 25 Jan, Ludovic Brenta wrote: There was a legend long ago that, after a few years' experience, all GNU/Linux users eventually switched to Debian. It took only me 14 days. ;-) When I started with GNU/Linux eleven years ago it was a SUSE, but it was so weird that I switched to Debian 14 days later and... 25 Jan 2008 10:33 |