mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
[posix] [pipe] add IPC for POSIX and add pipe for it
This commit is contained in:
@@ -55,4 +55,6 @@ if RT_USING_PTHREADS
|
||||
default 8
|
||||
endif
|
||||
|
||||
source "$RTT_DIR/components/libc/posix/ipc/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
||||
17
components/libc/posix/ipc/Kconfig
Normal file
17
components/libc/posix/ipc/Kconfig
Normal file
@@ -0,0 +1,17 @@
|
||||
menu "Interprocess Communication (IPC)"
|
||||
|
||||
config RT_USING_POSIX_PIPE
|
||||
bool "Enable pipe and FIFO"
|
||||
select RT_USING_POSIX_FS
|
||||
select RT_USING_POSIX_DEVIO
|
||||
select RT_USING_POSIX_POLL
|
||||
default n
|
||||
|
||||
config RT_USING_POSIX_PIPE_SIZE
|
||||
int "Set pipe buffer size"
|
||||
depends on RT_USING_POSIX_PIPE
|
||||
default 512
|
||||
|
||||
comment "Socket is in the 'Network' category"
|
||||
|
||||
endmenu
|
||||
Reference in New Issue
Block a user