sched/signal and related changes to other OS subsystems.

This commit is contained in:
Xiang Xiao
2019-01-27 09:28:59 -06:00
committed by Gregory Nutt
parent d105dc9b5e
commit fb63c0a293
34 changed files with 212 additions and 225 deletions
+3 -2
View File
@@ -192,7 +192,7 @@ static void lio_sighandler(int signo, siginfo_t *info, void *ucontext)
/* Signal the client */
DEBUGVERIFY(nxsig_notification(sighand->pid, &sighand->sig,
SI_ASYNCIO));
SI_ASYNCIO, &aiocbp->aio_sigwork));
/* And free the container */
@@ -676,7 +676,8 @@ int lio_listio(int mode, FAR struct aiocb *const list[], int nent,
}
else
{
status = nxsig_notification(getpid(), sig, SI_ASYNCIO);
status = nxsig_notification(getpid(), sig,
SI_ASYNCIO, &aiocbp->aio_sigwork);
if (status < 0 && ret == OK)
{
/* Something bad happened while performing the notification