Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

cpp-thread-safety

Sterne5
Forks2
Aktualisiert6. Mai 2026 um 08:13

Make C++ code in this repository thread-safe and leak-free by default: enforce RAII for every resource, prefer immutable cross-thread snapshots over shared mutable state, use std::unique_ptr / std::jthread / std::scoped_lock / std::stop_token / std::atomic correctly, and run with sanitizers in dev. Use when writing or reviewing any code that touches threads, mutexes, atomics, raw pointers, manual new/delete, file handles, sockets, callbacks across thread boundaries, Qt signals across threads, or when the user mentions race, deadlock, leak, thread, async, sanitizer, or memory.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly