lelconcurrent-programming-verified">4. Parallel/Concurrent Programming (Verified)</h2>
<p><strong>Note:</strong> GrapaPy is fully thread safe, but if you share mutable state between threads, you are responsible for the logic. Use a <code>$thread()</code> lock object if needed, or prefer immutable data and thread-local variables. See <a href="../sys/thread/">Threading and Locking</a> for examples and best practices.</p>
<p><strong>Example: Process a list of numbers</strong>
<div class="highlight"><pre><span>