Skip to content

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