Commit Graph

19 Commits

Author SHA1 Message Date
Dave Marples 5179fa9a64 drivers/serial/serial.c: Limit the number of times that the poll semaphore is incrmented. 2019-06-13 16:23:04 -06:00
Gregory Nutt a5183e3460 include/poll.h and include/nuttx/compiler.h: Update some comments; improved a conditional test. 2019-02-21 18:06:53 -06:00
Gregory Nutt 94fe5c8349 include/poll.h: Remove un-named union from 'struct pollfd'. It is not required by OpenGroup.org and violates the NuttX C coding standard because it is not C89 compatible. 2019-02-21 17:40:30 -06:00
dongjianli 057d555129 sched/signal and syscall/: Add support for pselect() and ppoll() functions 2018-11-08 07:45:23 -06:00
Xiang Xiao bcf9360e5f Move psock check from [get|set]sockopt to psock_[get|set]sockopt 2018-08-26 14:25:54 -06:00
Gregory Nutt 655be281e6 include/nuttx/compiler.h, include/poll.h: Add logic to determine if the compiler supports anonymous structures and unions. 2018-08-26 14:20:58 -06:00
dongjianli 56883eef3b fs/vfs/fs_poll.c: Add poll use in kernel space. 2018-08-26 13:44:07 -06:00
Gregory Nutt cb9e27c3b0 Standardize naming used for public data and function groupings 2015-10-02 16:30:35 -06:00
Gregory Nutt b578c98fa9 Clean up and review of header files for conformance to standards 2015-06-12 19:26:01 -06:00
Gregory Nutt 1712f42cf3 apps/netutils/ntpclient: Add a primitive NTP client. Initial checkin is untested and probably incomplete 2014-04-10 18:15:06 -06:00
Gregory Nutt 9d280a58aa When readahead data is available, poll needs to return POLLIN or POLLRDNORM, not POLLOUT 2013-05-23 07:16:46 -06:00
patacongo 8e5733ae3f Header file clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4948 42af7a65-404d-4744-a932-0658087f49c3
2012-07-17 03:58:11 +00:00
patacongo eeec4073a9 Switching to C99 stdint.h types
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2340 42af7a65-404d-4744-a932-0658087f49c3
2009-12-14 23:32:23 +00:00
patacongo 6ad27ed177 Reserved word 'private' in C header files is a problem for C++
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1890 42af7a65-404d-4744-a932-0658087f49c3
2009-06-16 23:23:31 +00:00
patacongo cf12e1690e Move poll save area back into struct pollfd (as it was
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1288 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 18:43:50 +00:00
patacongo 0985c273fa Move poll storage slot from pollfd struct to socket struct
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1286 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 02:40:09 +00:00
patacongo b2b69f173b Implement poll/select for sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1277 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 17:30:30 +00:00
patacongo acbefdbb30 Initial integration of poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1266 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 20:27:26 +00:00
patacongo 57c41ff2fc Basic file structure for poll() API
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1257 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 17:19:38 +00:00