https://gitlab.synchro.net/main/sbbs/-/commit/ab56f3e0a9cdab624e6f5315
Modified Files:
src/conio/ciolib.c
Log Message:
Fix potential races around init and ungot chars
Since we now require pthreads for ciolib anyway (pthread_once_t in
ciolib.h), we can avoid races properly.
Make initialized atomic, and have a lock around updating it, and add
a lock around the ungot characters (heavily used by Windows GDI).
This possibly fixes bug ticket 214.
--- SBBSecho 3.34-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)