[M3devel] malloc/free from Modula-3?

Mika Nystrom mika at async.caltech.edu
Tue Apr 19 04:27:04 CEST 2011

Jay K writes:
>Content-Type: text/plain; charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>And "yes" you need to disable switching around free=2C the same as malloc. =
>And calloc. And realloc.
>The disable switching *might* be at a lower level than you realize=2C so *m=
>ight* not be missing.
>That is=2C it might be in our C wrappers. I can check later.
> - Jay

Well in that case someone should remove the
SchedulerPosix.DisableSwitching (etc) from around the mallocs.

Or are you telling me that perhaps free() is wrapped but malloc() isn't?
That would be... confusing.


More information about the M3devel mailing list