Page MenuHomeFreeBSD

Make bsnmpclient(3) thread-safe
AbandonedPublic

Authored by trasz on Nov 23 2020, 1:46 PM.
Tags
None
Referenced Files
F154330285: D27336.id.diff
Mon, Apr 27, 9:36 PM
F154266047: D27336.id.diff
Mon, Apr 27, 11:58 AM
Unknown Object (File)
Sat, Apr 25, 1:02 PM
Unknown Object (File)
Fri, Apr 24, 10:23 PM
Unknown Object (File)
Tue, Apr 21, 11:14 PM
Unknown Object (File)
Sun, Apr 19, 5:41 PM
Unknown Object (File)
Sun, Apr 19, 5:40 PM
Unknown Object (File)
Sun, Apr 12, 3:19 PM
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.