Re: git: 3a1f5a28f007 - main - proc.h: Order thread_lock*() functions more logically

From: Olivier Certner <olce_at_freebsd.org>
Date: Thu, 19 Nov 2026 10:39:17 UTC
> > I sort them alphabetically, but may use separate groups instead of
> > one giant group if there are comments for the groups.
> 
> IMO the important thing is that it's entierly clear where to put the
> next thing.  The easiest way to do that is to sort things.

I'm exactly in line with this.

> I highly recommmend blank lines or comments to break the groups up.

Doing that, and also a bit more to regroup thread-lock-related functions into <sys/mutex.h>.  Please see https://reviews.freebsd.org/D61748.

-- 
Olivier Certner