Re: knote(9) and knote_locked(9)

2023-02-02 Thread Vitaliy Makkoveev
On Thu, Feb 02, 2023 at 04:44:11AM +, Visa Hankala wrote: > Make knote(9) lock the knote list internally, and add knote_locked(9) > for the typical situation where the list is already locked. > > Simplify the kqueue API a bit (and make room for the new function) > by dropping the KNOTE(9)

knote(9) and knote_locked(9)

2023-02-01 Thread Visa Hankala
Make knote(9) lock the knote list internally, and add knote_locked(9) for the typical situation where the list is already locked. Simplify the kqueue API a bit (and make room for the new function) by dropping the KNOTE(9) macro. Its value is dubious, not least because it is common to use proper