Nearly all callers have are known to have already initialize the event
before calling these functions. As such add variants which assume the
event will be non-NULL and will panic() if this occurs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 67653 Build 64536: arc lint + arc unit
Event Timeline
Comment Actions
@mhorne this is a follow-on to D33479. If the normal interface is going to include NULL-checks, but they can be omitted in some fairly common circumstances what do you prefer for new names? Underscore prefix tends to point to internal (though can also indicate lower-level), but some letter suffix would also work. Your view since you've been emphasizing the consistency here?
Comment Actions
Trivial update. Wondering which functions to include this flag for initially. Destroy is helpful as it provides an alternative elsewhere.