diff options
Diffstat (limited to 'rt/aio_misc.c')
-rw-r--r-- | rt/aio_misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rt/aio_misc.c b/rt/aio_misc.c index fb5fbf6985..fa3c75c150 100644 --- a/rt/aio_misc.c +++ b/rt/aio_misc.c @@ -265,6 +265,8 @@ __aio_enqueue_request (aiocb_union *aiocbp, int operation) return NULL; } newp->aiocbp = aiocbp; + newp->caller_pid = (aiocbp->aiocb.aio_sigevent.sigev_notify == SIGEV_SIGNAL + ? getpid () : 0); newp->waiting = NULL; aiocbp->aiocb.__abs_prio = prio; |