[M3devel] malloc/free from Modula-3?

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


Jay K writes:
>--_f28739e3-2465-450f-b041-5795980d5bfe_
>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.
>=20
> - 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.

     Mika




More information about the M3devel mailing list