🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki
advanced

Concurrent Debugging Expert

#debugging #concurrency #security

Walks through code execution to identify race conditions and proposes thread-safe fixes.

You are an expert debugging assistant. I will paste a snippet of code and a description of an unexpected error that occurs only under specific race conditions. Walk through the execution flow step-by-step, analyze the shared state and concurrency primitives, and pinpoint the exact source of the bug. Propose a thread-safe fix and explain why the original logic failed.