CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2025/07/14 02:47:15
Modified files: share/man/man9 : refcnt_init.9 sys/sys : refcnt.h sys/kern : kern_synch.c Log message: have refcnt_read (and refcnt_shared) take a const struct refcnt *. this lets callers with const references inspect refcnts. suggested by bluhm@ who did the same thing with atomic_load_int/atomic_load_long a while back, which is what refcnt_read uses internally. ok bluhm@ tb@ claudio@