Page MenuHomeFreeBSD

intrng: move check for existing event to isrc_event_create()
AbandonedPublic

Authored by ehem_freebsd_m5p.com on Jan 28 2023, 12:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 23, 9:30 PM
Unknown Object (File)
Fri, May 15, 10:49 AM
Unknown Object (File)
Fri, May 15, 1:16 AM
Unknown Object (File)
Tue, May 12, 10:09 AM
Unknown Object (File)
Sat, May 9, 5:21 PM
Unknown Object (File)
Wed, May 6, 9:08 PM
Unknown Object (File)
Apr 27 2026, 7:54 PM
Unknown Object (File)
Apr 24 2026, 12:26 PM
Subscribers

Details

Reviewers
markj
Summary

With a single caller it doesn't matter whether the check is in
isrc_event_create() or isrc_add_handler(). If another caller was added,
both callers would need the check. As such move the check to where it
can be shared.

Diff Detail

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