[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Memory Allocator / AHCM



AHCM should be thread safe as it can manage "groups" of memory - so as
long as any allocations are grouped specific to the app in question,
threads would be safe

On Sat, May 5, 2012 at 9:51 AM, Ole <ole@monochrom.net> wrote:
> Hello,
>
> rencently I found an simple way of creating preemptive threads within the
> mintlib (tfork()).
> From the kernel point of view it is just an new process (sharing the same
> memory as
> the parent process).
>
> Now I'm looking for an thread safe memory allocator. So I wanted to ask:
>
>  - How is thread safety implemented in AHCM without knowing about the system
> specific
>   threading implementation?
>
>  - Do you know any better replacement memory allocator, "better" in sense of
>   "ease of usage with the mintlib".
>
> Greets,
> Ole
>
>
>