Merge pull request #2239 from synqa/add-comment-unix-lock

Add comment for UnixLock
This commit is contained in:
Ilya Shipitsin authored and GitHub committed 2026-02-21 15:36:51 +01:00
commit 61b920f957
1 file changed
+2
+2
View File
@@ -1849,6 +1849,8 @@ void UnixUnlockEx(LOCK *lock, bool inner)
}
// Lock
// Recursive locking is implemented manually instead of using PTHREAD_MUTEX_RECURSIVE.
// See: https://github.com/SoftEtherVPN/SoftEtherVPN/pull/2219
bool UnixLock(LOCK *lock)
{
pthread_mutex_t *mutex;