Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Live within your income, even if you have to borrow to do so. -- Josh Billings


dovenet / Synchronet Programming / src/conio/ciolib.c sdl_con.c

SubjectAuthor
o src/conio/ciolib.c sdl_con.cDeuc?

1
src/conio/ciolib.c sdl_con.c

<65F7739C.49291.syncprog@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=3309&group=DOVE-Net.Synchronet_Programming#3309

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: deuc?@VERT (Deuc?)
To: Git commit to main/sbbs/master
Subject: src/conio/ciolib.c sdl_con.c
Message-ID: <65F7739C.49291.syncprog@vert.synchro.net>
Date: Sun, 17 Mar 2024 15:50:04 -0700
X-Comment-To: Git commit to main/sbbs/master
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Programming
X-FTN-PID: Synchronet 3.20a-Linux master/c3e46719e Mar 2 2024 GCC 12.2.0
X-FTN-MSGID: 49291.syncprog@1:103/705 2a5d6a27
X-FTN-CHRS: CP437 2
WhenImported: 20240317155004-0700 c1e0
WhenExported: 20240329040315-0700 c1e0
ExportedFrom: VERT syncprog 49291
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Deuc? - Sun, 17 Mar 2024 22:50 UTC

https://gitlab.synchro.net/main/sbbs/-/commit/14ede244078ccdede32e86ad
Modified Files:
src/conio/ciolib.c sdl_con.c
Log Message:
Fix up exit codes on macOS

The issue was that the various semaphores and mutexes weren't being
initialized at all when sdl_initconio() wasn't called... so starting
the event thread and telling it to stop would access uncreated
semaphores and mutexes.

Split out the init, and be sure to call it before exiting.

---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor