Page MenuHomeFreeBSD

Implement SIGEV_THREAD notifications for lio_listio(2)
ClosedPublic

Authored by asomers on Jul 20 2017, 7:46 PM.
Tags
None
Referenced Files
F153051985: D11680.diff
Sat, Apr 18, 8:53 PM
F152993723: D11680.diff
Sat, Apr 18, 12:50 PM
Unknown Object (File)
Wed, Apr 15, 7:18 AM
Unknown Object (File)
Sat, Apr 11, 8:07 AM
Unknown Object (File)
Fri, Apr 10, 8:45 PM
Unknown Object (File)
Thu, Apr 9, 10:25 PM
Unknown Object (File)
Thu, Apr 9, 6:03 PM
Unknown Object (File)
Thu, Apr 9, 7:01 AM
Subscribers

Details

Summary

Implement SIGEV_THREAD notifications for lio_listio(2)

Our man pages have always indicated that this was supported, but in fact the
feature was never implemented for lio_listio(2).

Test Plan

tests/sys/aio/lio_test

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This generally looks fine. The saved_ev thing is kind of racey (what if the thread fires before the sigevent contents are updated?), but that isn't a new bug.

lib/librt/aio.c
214 ↗(On Diff #31028)

'sig == NULL' instead of '!sig'

This revision is now accepted and ready to land.Jul 20 2017, 10:31 PM
This revision was automatically updated to reflect the committed changes.