You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/02/19 16:39:35 UTC
[GitHub] [incubator-nuttx] anchao opened a new pull request #313:
net/socket: add MSG_DONTWAIT support
anchao opened a new pull request #313: net/socket: add MSG_DONTWAIT support
URL: https://github.com/apache/incubator-nuttx/pull/313
MSG_DONTWAIT (since Linux 2.2)
Enables nonblocking operation; if the operation would block, the
call fails with the error EAGAIN or EWOULDBLOCK. This provides
similar behavior to setting the O_NONBLOCK flag (via the fcntl(2)
F_SETFL operation), but differs in that MSG_DONTWAIT is a per-call
option, whereas O_NONBLOCK is a setting on the open file description
(see open(2)), which will affect all threads in the calling process
and as well as other processes that hold file descriptors referring
to the same open file description.
Change-Id: Ide4d40b527c30d4a99b99b2d607a15462efe5f0c
Signed-off-by: chao.an <an...@xiaomi.com>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-nuttx] patacongo merged pull request #313: net/socket:
add MSG_DONTWAIT support
Posted by GitBox <gi...@apache.org>.
patacongo merged pull request #313: net/socket: add MSG_DONTWAIT support
URL: https://github.com/apache/incubator-nuttx/pull/313
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services