Page MenuHomeFreeBSD

Make bsnmpclient(3) thread-safe
AbandonedPublic

Authored by trasz on Nov 23 2020, 1:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 7, 11:46 PM
Unknown Object (File)
Mon, Oct 6, 3:32 AM
Unknown Object (File)
Fri, Sep 19, 9:39 AM
Unknown Object (File)
Sep 17 2025, 1:45 AM
Unknown Object (File)
Sep 5 2025, 11:19 PM
Unknown Object (File)
Aug 20 2025, 5:20 AM
Unknown Object (File)
Aug 18 2025, 4:16 AM
Unknown Object (File)
Jul 20 2025, 11:16 AM
Subscribers

Details

Summary

Make bsnmpclient(3) thread-safe.

Diff Detail

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

Event Timeline

trasz requested review of this revision.Nov 23 2020, 1:46 PM

For me this looks good. In the middle term (next year) I have a plan to get rid of static data in the library.

This revision is now accepted and ready to land.Nov 24 2020, 11:12 AM
This revision was automatically updated to reflect the committed changes.

... And reverted in f53120073b3 - mostly because, as Jessica pointed out, it would break existing applications which properly share the context between threads, eg by using explicit locking.