AllocVecTags() questions

This forum is for general developer support questions.
xenic
Posts: 1185
Joined: Sun Jun 19, 2011 12:06 am

Re: AllocVecTags() questions

Post by xenic »

salass00 wrote:There are only three values that are allowed for use with AllocVecTags() AVT_Type tag: MEMF_PRIVATE, MEMF_SHARED and MEMF_EXECUTABLE.

Out of these MEMF_SHARED and MEMF_EXECUTABLE default to being locked in memory (not swappable) while MEMF_PRIVATE is not locked (swappable) by default. This default can be overridden by using the AVT_Lock tag.

MEMF_PUBLIC is a legacy memory flag which should not be used with the new AllocVecTags() API.
I meant MEMF_SHARED when I said MEMF_PUBLIC. I'm aware of the 3 types of memory.
AmigaOne X1000 with 2GB memory - OS4.1 FE
Post Reply