incubator-nuttx/libc/unistd
Gregory Nutt 936df1bcb5 Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep().
Squashed commit of the following:

    Change all calls to usleep() in the OS proper to calls to nxsig_usleep()

    sched/signal:  Add a new OS internal function nxsig_usleep() that is functionally equivalent to usleep() but does not cause a cancellaption point and does not modify the errno variable.

    sched/signal:  Add a new OS internal function nxsig_sleep() that is functionally equivalent to sleep() but does not cause a cancellaption point.
2017-10-06 10:15:01 -06:00
..
Kconfig libc/Kconfig: Use menus vs. comments to better organize the C library menus 2017-02-10 10:04:56 -06:00
Make.defs C library: Add swab() 2017-02-16 14:42:27 -06:00
lib_access.c Standardize some naming in code section comments 2016-02-21 18:09:04 -06:00
lib_chdir.c Reserver the name 'err' for other purposes 2016-06-11 14:40:07 -06:00
lib_execl.c Standardize some naming in code section comments 2016-02-21 18:09:04 -06:00
lib_getcwd.c Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
lib_gethostname.c nuttx/mm and libc: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 08:57:01 -06:00
lib_getopt.c Standardize some naming in code section comments 2016-02-21 18:09:04 -06:00
lib_getoptargp.c Standardize some naming in code section comments 2016-02-21 18:09:04 -06:00
lib_getoptindp.c Standardize some naming in code section comments 2016-02-21 18:09:04 -06:00
lib_getoptoptp.c Standardize some naming in code section comments 2016-02-21 18:09:04 -06:00
lib_pipe.c Move driver related prototypes out of include/nuttx/fs/fs.h and into new include/drivers/drivers.h 2016-07-20 13:15:37 -06:00
lib_sethostname.c nuttx/mm and libc: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 08:57:01 -06:00
lib_sleep.c Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep(). 2017-10-06 10:15:01 -06:00
lib_swab.c Add file that I forgot to add in last commit. Move libc/stdlib/lib_imaxabs.c to inittypes/. 2017-02-16 14:54:35 -06:00
lib_usleep.c More cancellation points 2016-12-09 15:17:58 -06:00