mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
sched/signal and related changes to other OS subsystems.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user