Page MenuHomeFreeBSD

umtx: Split umtx.h on two counterparts.
ClosedPublic

Authored by dchagin on Jul 20 2021, 7:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 26, 3:32 PM
Unknown Object (File)
Thu, Oct 17, 12:34 PM
Unknown Object (File)
Oct 7 2024, 12:13 AM
Unknown Object (File)
Oct 6 2024, 3:23 PM
Unknown Object (File)
Oct 5 2024, 4:10 AM
Unknown Object (File)
Oct 5 2024, 4:09 AM
Unknown Object (File)
Oct 5 2024, 4:08 AM
Unknown Object (File)
Oct 5 2024, 4:07 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.