mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
s/sigval/sival/g
This commit is contained in:
parent
9f8a02f168
commit
77efa49867
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154668
@ -95,7 +95,7 @@ main(int argc, char *argv[]){
|
||||
iocb[i]->aio_offset = iocb[i]->aio_nbytes * i * run;
|
||||
|
||||
iocb[i]->aio_sigevent.sigev_notify_kqueue = kq;
|
||||
iocb[i]->aio_sigevent.sigev_value.sigval_ptr = iocb[i];
|
||||
iocb[i]->aio_sigevent.sigev_value.sival_ptr = iocb[i];
|
||||
iocb[i]->aio_sigevent.sigev_notify = SIGEV_KEVENT;
|
||||
|
||||
result = aio_write(iocb[i]);
|
||||
|
@ -116,7 +116,7 @@ main(int argc, char *argv[]){
|
||||
iocb[k]->aio_lio_opcode = LIO_WRITE;
|
||||
}
|
||||
sig.sigev_notify_kqueue = kq;
|
||||
sig.sigev_value.sigval_ptr = lio[j];
|
||||
sig.sigev_value.sival_ptr = lio[j];
|
||||
sig.sigev_notify = SIGEV_KEVENT;
|
||||
time(&time1);
|
||||
result = lio_listio(LIO_NOWAIT, lio[j],
|
||||
|
Loading…
Reference in New Issue
Block a user