Page MenuHomeFreeBSD

umtx: Split umtx.h on two counterparts.
ClosedPublic

Authored by dchagin on Jul 20 2021, 7:21 PM.
Tags
None
Referenced Files
F132480310: D31248.id92925.diff
Fri, Oct 17, 6:53 AM
Unknown Object (File)
Tue, Oct 14, 8:52 PM
Unknown Object (File)
Tue, Oct 14, 3:48 PM
Unknown Object (File)
Mon, Oct 13, 9:55 AM
Unknown Object (File)
Mon, Oct 13, 2:22 AM
Unknown Object (File)
Mon, Oct 13, 12:02 AM
Unknown Object (File)
Wed, Oct 8, 11:32 AM
Unknown Object (File)
Thu, Oct 2, 6:22 AM
Subscribers

Details

Summary

To prevent umtx.h polluting by future changes split it on two headers:
umtx.h - ABI header for userspace;
umtxvar.h - the kernel staff.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/sys/umtxvar.h
36

Please do not do this. We prefer to not nest includes. Consumer should include sys/umtx.h, then sys/umtxvar.h.

90

While there, fix style. Indent should be +4 spaces for continuation lines.

blank line after { added in the umtx_key_match

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