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)
Fri, May 24, 1:16 PM
Unknown Object (File)
Fri, May 24, 1:16 PM
Unknown Object (File)
May 12 2024, 10:29 AM
Unknown Object (File)
Feb 2 2024, 10:00 PM
Unknown Object (File)
Jan 4 2024, 6:47 AM
Unknown Object (File)
Dec 29 2023, 1:25 AM
Unknown Object (File)
Dec 23 2023, 1:36 AM
Unknown Object (File)
Dec 12 2023, 5:20 PM
Subscribers

Diff Detail

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

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