a living computational observatory
Where parallel processes become bioluminescent organisms, synchronizing in waves of coherence across a vast digital petri dish.
thread::A
thread::B
thread::C
Multiple processes interleave their execution, each advancing along its own timeline. They share resources, compete for locks, and occasionally synchronize -- producing emergent patterns more complex than any single thread could generate alone.
Drag between process nodes to form connections. Create a cycle to trigger a deadlock.
producer()
consumer()
mutex.lock()
channel.send()
scheduler()
A guardian organism. Only one thread may enter its membrane at a time. Others wait at the boundary, pulsing gently until the lock is released.
A colony of permits. Multiple threads coexist within its bounds, but the population is capped. When the last permit is taken, newcomers queue at the edge.
A river between worlds. Messages flow in one direction, buffered by the current. The sender and receiver never touch -- they communicate through the stream.
A synchronization reef. All threads must arrive before any may proceed. They gather at the threshold, waiting in communion until the last one arrives.
Enter the observatory.