🏠 Beranda
Benchmark
📊 Semua Benchmark 🦖 Dinosaurus v1 🦖 Dinosaurus v2 ✅ Aplikasi To-Do List 🎨 Halaman Bebas Kreatif 🎯 FSACB - Showcase Utama 🌍 Benchmark Terjemahan
Model
🏆 Top 10 Model 🆓 Model Gratis 📋 Semua Model ⚙️ Kilo Code
Sumber Daya
💬 Perpustakaan Prompt 📖 Glosarium AI 🔗 Tautan Berguna
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.