Page MenuHomeFreeBSD

refcount.9: Update refcount_acquire(9) description after a67d540832b8
ClosedPublic

Authored by khng on Oct 12 2022, 6:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 7:33 PM
Unknown Object (File)
Wed, Nov 6, 11:52 PM
Unknown Object (File)
Sep 30 2024, 8:33 AM
Unknown Object (File)
Sep 30 2024, 8:14 AM
Unknown Object (File)
Sep 30 2024, 6:21 AM
Unknown Object (File)
Sep 29 2024, 2:32 PM
Unknown Object (File)
Sep 29 2024, 4:15 AM
Unknown Object (File)
Sep 28 2024, 4:25 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 47801
Build 44688: arc lint + arc unit

Event Timeline

khng requested review of this revision.Oct 12 2022, 6:58 AM
share/man/man9/refcount.9
97

I would say 'value' and not 'snapshot'.

BTW, a number of refcount functions are not documented here: acquiren, releasen, acquire_if_gt, acquire_if_not_gt.

share/man/man9/refcount.9
97

+1

BTW, a number of refcount functions are not documented here: acquiren, releasen, acquire_if_gt, acquire_if_not_gt.

Yes, I realized that. I will address them in a separate diff.

  • Remove "the snapshot of"
  • grammar fix
share/man/man9/refcount.9
100

This sentence ("For example, ...") is logically connected to the one that starts with "The caller is responsible...", so the new sentence should come before both or after both.

Move the return value description above usage details.

This revision is now accepted and ready to land.Oct 12 2022, 5:33 PM