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)
Thu, Feb 27, 5:25 PM
Unknown Object (File)
Thu, Feb 27, 1:54 PM
Unknown Object (File)
Sun, Feb 23, 2:39 PM
Unknown Object (File)
Feb 20 2025, 11:12 AM
Unknown Object (File)
Feb 14 2025, 11:54 AM
Unknown Object (File)
Feb 11 2025, 7:59 PM
Unknown Object (File)
Feb 11 2025, 7:50 PM
Unknown Object (File)
Feb 11 2025, 7:47 PM
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.