mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
libuv: fix bugs and add partial pipe support
This commit is contained in:
parent
2e8f068a61
commit
efd81744d1
4 changed files with 822 additions and 329 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -54,6 +54,13 @@ config LIBUV_STREAM_READ_SIZE
|
|||
---help---
|
||||
Defines the size of buffer used for stream reads.
|
||||
|
||||
config LIBUV_PIPE
|
||||
bool "libuv pipe support"
|
||||
default n
|
||||
depends on LIBUV_STREAM
|
||||
---help---
|
||||
Enable libuv pipe support.
|
||||
|
||||
config LIBUV_FS
|
||||
bool "libuv FS support"
|
||||
default n
|
||||
|
|
|
|||
|
|
@ -86,6 +86,10 @@ ifeq ($(CONFIG_LIBUV_ASYNC),y)
|
|||
CSRCS += $(LIBUV_UNPACKDIR)/src/unix/async.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LIBUV_PIPE),y)
|
||||
CSRCS += $(LIBUV_UNPACKDIR)/src/unix/pipe.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LIBUV_FS),y)
|
||||
CSRCS += $(LIBUV_UNPACKDIR)/src/unix/fs.c
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -49,11 +49,13 @@ CSRCS += $(LIBUV_UNPACKDIR)/test/test-poll-close.c
|
|||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-loop-close.c
|
||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-loop-stop.c
|
||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-tcp-read-stop.c
|
||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-ping-pong.c
|
||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-tcp-write-after-connect.c
|
||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-fs-copyfile.c
|
||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-fs-poll.c
|
||||
ifeq ($(CONFIG_DEV_URANDOM),y)
|
||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-random.c
|
||||
|
||||
endif
|
||||
# Test helpers
|
||||
|
||||
CSRCS += $(LIBUV_UNPACKDIR)/test/echo-server.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue