Re: Add refcnt_read()

2022-03-15 Thread Visa Hankala
On Tue, Mar 15, 2022 at 09:11:30AM +, Visa Hankala wrote: > This patch adds a function for getting a snapshot of a reference > counter. This will let code like crcopy() access the value in an > API-observing way. Here is a revised version. Based on input from dlg@, the patch now adds

Re: Add refcnt_read()

2022-03-15 Thread Vitaliy Makkoveev
On Tue, Mar 15, 2022 at 09:11:30AM +, Visa Hankala wrote: > This patch adds a function for getting a snapshot of a reference > counter. This will let code like crcopy() access the value in an > API-observing way. > > OK? ok mvs@ > > Index: share/man/man9/refcnt_init.9 >

Add refcnt_read()

2022-03-15 Thread Visa Hankala
This patch adds a function for getting a snapshot of a reference counter. This will let code like crcopy() access the value in an API-observing way. OK? Index: share/man/man9/refcnt_init.9 === RCS file: