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
F97595124: D36943.diff
Mon, Sep 30, 6:21 AM
F97476843: D36943.diff
Sun, Sep 29, 2:32 PM
Unknown Object (File)
Sun, Sep 29, 4:15 AM
Unknown Object (File)
Sat, Sep 28, 4:25 PM
Unknown Object (File)
Fri, Sep 27, 4:09 PM
Unknown Object (File)
Fri, Sep 27, 1:32 PM
Unknown Object (File)
Fri, Sep 27, 3:22 AM
Unknown Object (File)
Fri, Sep 27, 2:48 AM
Subscribers

Diff Detail

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

Event Timeline

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

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
96

+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