nuttx/net/socket
Gregory Nutt 9568600ab1 Squashed commit of the following:
This commit backs out most of commit b4747286b1.  That change was added because sem_wait() would sometimes cause cancellation points inappropriated.  But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.

    In the OS, all calls to sem_wait() changed to nxsem_wait().  nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.

    In all OS functions (not libraries), change sem_wait() to nxsem_wait().  This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.

    sched/semaphore:  Add the function nxsem_wait().  This is a new internal OS interface.  It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
2017-10-04 15:22:27 -06:00
..
accept.c Squashed commit of the following: 2017-09-30 08:18:08 -06:00
bind.c Squashed commit of the following: 2017-09-30 08:18:08 -06:00
connect.c Squashed commit of the following: 2017-09-30 08:18:08 -06:00
getsockname.c Socket interface: Added getsockname[C() interfaces. 2017-07-14 09:04:19 -06:00
getsockopt.c Squashed commit of the following: 2017-09-30 08:18:08 -06:00
Kconfig
listen.c Squashed commit of the following: 2017-09-30 08:18:08 -06:00
Make.defs Networking: Move INET socket interface out of net/sockets to its own directory net/inet 2017-08-06 14:48:19 -06:00
net_checksd.c Replace all occurrences of vdbg with vinfo 2016-06-11 11:59:51 -06:00
net_clone.c Networking: socket dup() conditional operation was missing the test for the condition. 2017-08-30 10:29:14 -06:00
net_close.c Squashed commit of the following: 2017-09-30 10:41:21 -06:00
net_dupsd2.c Squashed commit of the following: 2017-09-30 10:41:21 -06:00
net_dupsd.c Squashed commit of the following: 2017-09-30 10:41:21 -06:00
net_poll.c Network poll: Remove logic conditioned on non-existent HAVE_NET_POLL. 2017-07-19 06:23:56 -06:00
net_sendfile.c Squashed commit of the following: 2017-09-30 10:41:21 -06:00
net_sockets.c Squashed commit of the following: 2017-10-03 15:35:24 -06:00
net_sockif.c Squashed commit of the following: 2017-08-19 08:48:52 -06:00
net_timeo.c Be consistent... Use Name: consistent in function headers vs Function: 2017-04-21 16:33:14 -06:00
net_vfcntl.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
recv.c Be consistent... Use Name: consistent in function headers vs Function: 2017-04-21 16:33:14 -06:00
recvfrom.c Squashed commit of the following: 2017-09-30 08:18:08 -06:00
send.c psock_send() no longer sets errno, so send() must now set it. 2017-09-30 06:27:37 -06:00
sendto.c net/sockets: psock_send() is an internal OS interface an should not set the errno variable. 2017-09-29 17:48:15 -06:00
setsockopt.c Squashed commit of the following: 2017-09-30 08:18:08 -06:00
socket.c Squashed commit of the following: 2017-09-30 08:18:08 -06:00
socket.h Squashed commit of the following: 2017-09-30 10:41:21 -06:00