hujun5
5c5c6653fd
libuv: fix build error
...
If UV_ONCE_INIT is a struct, the following errors will occur:
libuv/src/unix/nuttx.c: In function 'uv__global_get':
/home/hujun5/downloads1/vela_sim/apps/system/libuv/libuv/include/uv/unix.h:136:22: error: expected expression before '{' token
136 | #define UV_ONCE_INIT PTHREAD_ONCE_INIT
| ^~~~~~~~~~~~~~~~~
libuv/src/unix/nuttx.c:287:26: note: in expansion of macro 'UV_ONCE_INIT'
287 | global->once = UV_ONCE_INIT;
| ^~~~~~~~~~~~
/home/hujun5/downloads1/vela_sim/apps/system/libuv/libuv/include/uv/unix.h:136:22: error: expected expression before '{' token
136 | #define UV_ONCE_INIT PTHREAD_ONCE_INIT
| ^~~~~~~~~~~~~~~~~
libuv/src/unix/nuttx.c:288:50: note: in expansion of macro 'UV_ONCE_INIT'
288 | global->uv__signal_global_init_guard = UV_ONCE_INIT;
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-09-23 13:18:27 +08:00
Huang Qi
08a4b76a2f
libuv: Upgrade to v1.46.0
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-09-18 12:40:13 +08:00
Xiang Xiao
f5c094aef1
system/libuv: Skip compile strscpy.c when CONFIG_LIBUV_UTILS_TEST enable
...
since test/test-strscpy.c will include it in this case
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-03 20:25:52 +03:00
Xiang Xiao
8d1484b562
system/libuv: Include nuttx/tls.h to call task local storage api
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-01 22:50:54 +03:00
Huang Qi
ec15dc0344
system/libuv: Support specify stack size for worker thread
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-29 18:09:10 +03:00
Xiang Xiao
77382e7209
process-spawn.c: switch uv_socketpair to uv_pipe
...
to remove the socket dependence
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-04 09:00:30 +02:00
Xiang Xiao
f0bb6cf914
system/libuv: Switch process.c to process_spawn.c
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-02 23:41:32 +08:00
Xiang Xiao
7872332284
libuv: Remove unsupported case from test list
...
And some minor changes:
* Remove no-proctitle.c from CSRCS since there is a implementation in nuttx.c
* Add sysinfo-[loadavg|memory].c to CSRCS to provide system info
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-01 13:52:34 +08:00
Huang Qi
9351ab50d5
system/libuv: Bump to v1.42.0
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-28 18:05:00 +08:00