My question on how many allocations should have been
restated to ask 
"What is the maximum total heap for a given
application"
I'm not clear as to whether 64K is the total heap for
a given app or whether its the largest single call one
to make to allocate memory. I'm using malloc,free
right now which I think in CodeWarrior is mapped to
MemPtrNew, MemPtrFree and probably the same in GNU.
I'm hoping this depends on the Device, an 8MB device
would presumably over more usable heap than a 4MB
device.

> Is MemSemaphore*
> functions are supported in all m68k devices.
I'd need read/write access for the algorithm and would
use heap for that as it would be variable.

I can't seem to find any informationon MemSemaphore in
Rhodes, McKeehan or Foster. Is this a 68K Palm OS
function?
Evidently this is a trick to get more memory and treat
as dynamic on the Palm. What OS has this function, 3.5
and above.
If I were to allocate the following blocks on a Palm
would it be a problem?
12K
50K
15K
36K
16K
25K
62K
Would the Palm let me do all these allocations in a
single program run?

Thanks for your help.


Regards,

Andrew Scheurer

858-449-2557



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to