Commit Graph

6 Commits

Author SHA1 Message Date
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
Gregory Nutt 027490924e Cosmetic, fix alignment 2016-06-15 14:13:18 -06:00
Gregory Nutt 2ddd57c674 Centralize definitions associated with CONFIG_DEBUG_LEDS 2016-06-15 14:12:19 -06:00
Konstantin Berezenko a13577c572 Minor fix to error messages: ncp5623c 2016-06-14 16:46:12 -07:00
Gregory Nutt c442336bfe cosmetic changes from review of last PR 2016-06-14 16:36:39 -06:00
Konstantin Berezenko 787af112a2 Add RGB driver NCP5623C 2016-06-14 15:09:30 -07:00