[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] Realloc() debug message
during some experiments I observed one strange thing -- I was curious if
Vsetscreen() XBIOS call frees already allocated screens or not. So I put
Vsetscreen() in 100 iterations cycle and checked info about free memory.
However, as soon as second Vsetscreen() was called, I saw
"realloc_region: ..." message which appeared somewhere on screen (XaAES,
program started as .tos from toswin). Quick look into
freemint/sys/memory.c tells me this is because FORCE() debug output is
used by reallocation.
Is there any reason for this? I mean, is this operation somehow special
that we need to inform user about it using FORCE() and not TRACE() for
MiKRO / Mystic Bytes