lua-users home
lua-l archive

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

Dan Marks wrote:
> threads for at least two or three of them running simulatenously.  Perhaps
> you should make sure your ANSI calls malloc() and free() are thread safe,
> as well as any stdio.h library calls you use.

Have you made any modification to thoose functions - wanna share ?

>BTW, has any work been done on getting Lua to use a pool-type allocator
>rather than malloc/free?  This would help for limited memory situations
>and running on embedded systems.

Not directly releated, but I looking into multiply heaps (Like the
MPHEAP example from the win32 API) for optimizing Lua memory use on
multi-processors and multithreading.