https://gitlab.synchro.net/main/sbbs/-/commit/4aa8f644d5217556c33c60fa
Modified Files:
src/xpdev/link_list.c
Log Message:
MSFT Application Verifier complains the critical section is already initialized
On Windows, we may not have been actually mutex-protecting some or all of our Linked Lists, or maybe all Linked Lists were sharing the same mutex (critsect) because the address of the "critical section object" (which we use as a mutex) *must* (apparently) be unique or it's just reinitialized for every new linked list that's created/initialized. Either way, it wasn't good.
For now (at least), pthread_mutex_initializer_np() should not be used on Windows!
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net