As per the documentation(), which says that:

TLSF-based global memory allocator.
This is a malloc/free implementation built on top of the TLSF
allocator. It defines a global tlsf_control block and performs
allocations on that block. This implementation replaces the system
malloc
Additionally, the calls to TLSF are wrapped in
irq_disable()/irq_restore(), to make it thread-safe.

My question is how to comprehend this:
the calls to TLSF are wrapped in irq_disable()/irq_restore(), to make
it thread-safe.

Thank you for your attention to this matter.
Best Regards.
Sunshilong
_______________________________________________
users mailing list
users@riot-os.org
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to