nuttx-apps/system/libuv
fangxinyong 7faebbd425 libuv: fix compile warning
CC:  pthread/pthread_mutexinconsistent.c libuv/src/unix/getaddrinfo.c:103:9: warning: implicit declaration of function ‘getaddrinfo’; did you mean ‘uv_getaddrinfo’? [-Wimplicit-function-declaration]
  103 |   err = getaddrinfo(req->hostname, req->service, req->hints, &req->addrinfo);
      |         ^~~~~~~~~~~
      |         uv_getaddrinfo
libuv/src/unix/getaddrinfo.c: In function ‘uv_freeaddrinfo’:
libuv/src/unix/getaddrinfo.c:222:5: warning: implicit declaration of function ‘freeaddrinfo’; did you mean ‘uv_freeaddrinfo’? [-Wimplicit-function-declaration]
  222 |     freeaddrinfo(ai);
      |     ^~~~~~~~~~~~
      |     uv_freeaddrinfo
CC:  misc/lib_crc16ccitt.c libuv/src/unix/getnameinfo.c: In function ‘uv__getnameinfo_work’:
libuv/src/unix/getnameinfo.c:45:9: warning: implicit declaration of function ‘getnameinfo’; did you mean ‘uv_getnameinfo’? [-Wimplicit-function-declaration]
   45 |   err = getnameinfo((struct sockaddr*) &req->storage,
      |         ^~~~~~~~~~~
      |         uv_getnameinfo

Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2023-07-01 13:27:02 +08:00
..
.gitignore system/libuv: Bump to v1.42.0 2022-02-28 18:05:00 +08:00
0001-libuv-port-for-nuttx.patch system/libuv: Skip compile strscpy.c when CONFIG_LIBUV_UTILS_TEST enable 2022-06-03 20:25:52 +03:00
Kconfig system/libuv: Support specify stack size for worker thread 2022-03-29 18:09:10 +03:00
Make.defs Makefile: replace INCDIR to INCDIR_PREFIX 2022-11-10 02:38:58 +08:00
Makefile libuv: fix compile warning 2023-07-01 13:27:02 +08:00
README.md system/libuv: Bump to v1.42.0 2022-02-28 18:05:00 +08:00

libuv

Most features of libuv are supported by current port, except SIGPROF relative function (loop_configure).

Nearly full libuv's test suite avaliable on NuttX, but some known case can't run on sim:

  • loop_update_time
  • idle_starvation
  • signal_multiple_loops
  • signal_pending_on_close
  • metrics_idle_time
  • metrics_idle_time_thread
  • metrics_idle_time_zero

And some will cause crash by some reason:

  • fs_poll_ref