Hello Nicolas,

NC> There aren't many places where malloc is called and it could be possible
NC> to call a VM-specific alloc method instead that - in case of NULL - 
NC> would enable a user-custom behavior.

NC> Only if it's needed, I can make the appropriate changes.

Hmm so would that allow writing an API for Neko like
void neko_handle_request(REQUEST request, OUT_OF_MEMORY_HANDLER handler)

and then nginx could just define its own out-of-memory handler and
invoke VM this way?

-- 
Best regards,
 Michael                            mailto:[EMAIL PROTECTED]


-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to