Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Refactoring for embed system

SaeHie Park edited this page Jul 24, 2015 · 1 revision

Running libtuv in embedded system need these consideration

  • code may run more than once where system has no process model,
    • static or global variables may need to initialization every time.
  • uv_xxx_init() needs to be de-initialized to free handle usage
    • or it'll stay linked to loop->handles_queue, that may cause seg-fault when handle is stack variable.
Clone this wiki locally