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
F106914499: D36943.diff
Tue, Jan 7, 9:06 AM
F106890219: D36943.id111722.diff
Tue, Jan 7, 12:27 AM
Unknown Object (File)
Fri, Dec 20, 10:14 AM
Unknown Object (File)
Nov 19 2024, 11:53 PM
Unknown Object (File)
Nov 18 2024, 10:47 PM
Unknown Object (File)
Nov 18 2024, 4:51 PM
Unknown Object (File)
Nov 18 2024, 3:23 AM
Unknown Object (File)
Nov 9 2024, 7:33 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