forked from Samsung/libtuv
-
Notifications
You must be signed in to change notification settings - Fork 0
Porting to mbed
SaeHie Park edited this page Dec 9, 2015
·
6 revisions
While making libtuv run on mbed, these are the tweaks that I am trying, not knowing much about mbed...
Timer
runs in nano seconds but overflows in about 30 minutes. Try use accumulation value of timer every uv__hrtime
call.
hum...
Use onreadble
, onsent
and ondisconnect
callback.
Call stack when client is force disconnected in linux.
uv_shutdown() at uv_unix_stream.c:959 0x8074f68
after_read() at echo_server.c:102 0x8064bdf
uv__stream_eof() at uv_unix_stream.c:434 0x8073e6b
uv__read() at uv_unix_stream.c:911 0x8074d62
uv__stream_io() at uv_unix_stream.c:503 0x8074030
uv__io_poll() at uv_linux_io.c:236 0x8076c42
uv_run() at uv_run.c:167 0x806c538