Update comments.
This commit is contained in:
parent
fcf9e8d7a0
commit
3cce52e361
@ -89,6 +89,15 @@ static volatile unsigned long g_nsignals;
|
|||||||
static void timer_sighandler(int signo, FAR siginfo_t *siginfo,
|
static void timer_sighandler(int signo, FAR siginfo_t *siginfo,
|
||||||
FAR void *context)
|
FAR void *context)
|
||||||
{
|
{
|
||||||
|
/* Does nothing in this example except for increment a count of signals
|
||||||
|
* received.
|
||||||
|
*
|
||||||
|
* NOTE: The use of signal handler is not recommended if you are concerned
|
||||||
|
* about the signal latency. Instead, a dedicated, high-priority thread
|
||||||
|
* that waits on sigwaitinfo() is recommended. High priority is required
|
||||||
|
* if you want a deterministic wake-up time when the signal occurs.
|
||||||
|
*/
|
||||||
|
|
||||||
g_nsignals++;
|
g_nsignals++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user