Re: Largest size array in Gnat 2005 for the PC?
On Tue, 30 Oct, Pascal Obry wrote:
Stefan Bellon a écrit :
While I agree with the given suggestion to allocate large objects on
the heap instead of the stack, there is a way to increase the stack
size on Windows. We use something like the following in our projects
Yes, but this was not the OP question.
Sorry, then I misunderstood.
--
Stefan Bellon
.
Relevant Pages
- Re: singe thread per connection
... process is about 2000, with the practical maximum somewhat lower, and performance suffering significantly before that. ... If you use a different stack size than the default, or don't actually allocate one OS thread per Java thread, then the actual limit would be different. ... But in Windows, both in the regular Win32 API and under .NET, there are i/o mechanisms that can be used that allow a single thread to service an arbitrarily large number of i/o tasks. ... This allows a program to create just enough threads to keep all the CPU cores busy, and the Windows scheduler knows to treat those threads specially so that if the only other runnable thread is one that would do the same thing that the currently running thread would do, the currently running thread is allowed to just keep running, rather than being preempted for no good reason. ... (comp.lang.java.programmer) - Re: Iczelions tutorials revisited.
... By "local" variables on the stack I assume something like this? ... access parameters and locals that way. ... The Windows API uses "stdcall" in which "callee cleans up stack" - the Windows functions end with "ret N". ... Being an old dos-head, I'm used to using cx as a "counter", and it annoys me that calling libc or the Windows API is allowed to trash it, but that's life... ... (alt.lang.asm) - Re: Is MASM32 an evil Microsoft plot?
... Now your next blunder is to call the default windows message handler ... > you could use most any assembler and the whole advocacy for MASM disappears. ... C3;; retn ... Is there supposed to be some profundity at addressing the stack ... (alt.lang.asm) - Re: Need some help understanding array definitions
... their Windows product, ... Windows and DLL calls, and I'm sure MPE's equivalents address the same ... space available on the return stack at any given time. ... We don't have ALLOCATE or local buffers, ... (comp.lang.forth) - Re: IPAQs and Bluetooth and Visual Studio 2005 beta 2
... Differences between WinCE and Windows Mobile: ... Note that if you don't have a device running the Microsoft Bluetooth stack, ... (microsoft.public.pocketpc.developer.networking) |
|