This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// g++ -Wall -Wextra -O0 -g -o log_test | |
#include <atomic> | |
#include <optional> | |
// Vyukov MPSC (wait-free multiple producers, single consumer) queue | |
// https://www.1024cores.net/home/lock-free-algorithms/queues/intrusive-mpsc-node-based-queue | |
template <typename T> | |
class MpscQueue { | |
public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <string> | |
#include <spdlog/spdlog.h> | |
template <typename Derived> | |
struct DebugLogging { | |
DebugLogging() { spdlog::info("{} constructed", debugId()); } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
#include <fmt/format.h> | |
#include <physfs.h> | |
template <typename Derived> | |
struct PhysfsIo : PHYSFS_Io { | |
protected: | |
PhysfsIo() | |
: PHYSFS_Io { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
to be modified |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===== SYSTEM INFORMATION FOR PROTON BUG REPORT ===== | |
Date: Sun Mar 9 11:57:30 AM CET 2025 | |
GPU: | |
Intel Corporation UHD Graphics 620 (rev 07) | |
NVIDIA Corporation GP108M [GeForce MX150] (rev a1) | |
NVIDIA Driver Version: 565.77 | |
OS: Pop!_OS 22.04 LTS | |
Kernel: 6.9.3-76060903-generic |
OlderNewer