summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2017-09-27 13:31:35 +0800
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-10-01 08:54:33 +0200
commit6e15fafa20066634a58d412b259b117a47ca46d1 (patch)
tree78e2bfabc8a9b13926c93bf12d1e35aba14abe78 /libpthread
parent7cfd2112acbc7a9dfcd9f8a23e550672934a2545 (diff)
recvmmsg/sendmmsg: add recvmmsg sendmmsg support.
The recvmmsg and sendmmsg is very important for UDP stream application. If we only use recvmsg for UDP stream, it will only copy one mtu size of data in a syscall. And recvmmsg copy as many as you want in a syscall. So recvmmsg is more efficient,and some applications will depends on the recvmmsg and sendmmsg, eg: UDP media stream player. Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/nptl/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/nptl/Makefile.in b/libpthread/nptl/Makefile.in
index 068eee444..a2f30ac44 100644
--- a/libpthread/nptl/Makefile.in
+++ b/libpthread/nptl/Makefile.in
@@ -166,11 +166,13 @@ CFLAGS-readv.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-recv.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-recvfrom.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-recvmsg.c = -fexceptions -fasynchronous-unwind-tables
+CFLAGS-recvmmsg.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-__rt_sigtimedwait.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-__rt_sigwaitinfo.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-select.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-send.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-sendmsg.c = -fexceptions -fasynchronous-unwind-tables
+CFLAGS-sendmmsg.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-sendto.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-sigpause.c = -fexceptions
CFLAGS-sigsuspend.c = -fexceptions -fasynchronous-unwind-tables