🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links
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.