BBS:      TELESC.NET.BR
Assunto:  src/syncterm/syncterm.c
De:       Deuc¨
Data:     Sat, 25 Apr 2026 04:52:26 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/ed82082bbd196b30c4f880dd
Modified Files:
	src/syncterm/syncterm.c
Log Message:
syncterm: runtime-init popup_q_mutex for Win32 portability

PTHREAD_MUTEX_INITIALIZER isn't a constant expression under xpdev's
Win32 pthread wrapper, so the static initializer broke the mingw64
build. Initialize the mutex with pthread_mutex_init() at the top of
main() before any thread that could post to the popup queue.

Co-Authored-By: Claude Opus 4.7 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]