concu
PID 1 RUNNING
rrent.day
PID 2 RUNNING
scroll to begin parallel execution
08:00:00

Thread Initialization

Thread initialized. Memory allocated from heap at 0x7FFE. Stack pointer set to base address. Beginning sequential read of input buffer across 4 cores.

CPU: 12% MEM: 64MB

Process Spawn

Spawned as child process via fork(). Shared memory segment attached at 0x4000. Event loop started on epoll. Listening on port 8080.

CPU: 3% MEM: 32MB
09:30:00

Computation

Processing batch 1 of 4. CPU-bound workload consuming 98% core utilization. L1 cache hit rate: 94.2%. Estimated completion: 847ms. No context switches.

CPU: 98% L1: 94.2%

I/O Wait

Awaiting network response from upstream. Socket in non-blocking mode. Epoll registered for EPOLLIN events. Current idle time: 230ms. No data received yet.

CPU: 0% IDLE: 230ms
11:15:00

Resource Lock

Acquiring mutex on shared database connection pool. Lock contention detected with PID 2. Backing off with exponential delay. Retry attempt 3 of 10.

MUTEX: WAIT RETRY: 3/10
CONTENTION

Data Received

Network payload received: 4.2KB JSON. Schema validation passed. Preparing write to shared buffer. Requesting mutex access from PID 1 holder.

RECV: 4.2KB MUTEX: REQ
REQUESTING

Synchronization Point

Both processes converge at the barrier. Shared state reconciled. Mutex released. Combined result written to output stream. All threads aligned on the same clock edge.

12:00:00 SYNC
2 Processes
1 Barrier
0 Deadlocks
14:00:00

Batch Processing

Batches 2-4 complete. Total processed: 1.2M records. Memory usage stable at 256MB. Garbage collection paused. Write-ahead log flushed to disk.

RECORDS: 1.2M MEM: 256MB

Stream Processing

Continuous ingestion active. Backpressure at 12%. Consumer lag: 40ms. Throughput: 24K events/sec. All partitions healthy. No rebalance needed.

THROUGHPUT: 24K/s LAG: 40ms
16:00:00

Winding Down

Final batch checkpoint committed. Thread pool draining: 3 of 4 workers idle. Preparing graceful shutdown sequence. Flushing buffers to persistent storage.

WORKERS: 1/4 STATUS: DRAIN

Still Listening

Event loop continues at steady state. Heartbeat signal transmitted to orchestrator. No shutdown signal received. Uptime: 8h 00m. Health check: OK.

UPTIME: 8h HEALTH: OK
17:30:00

Completed

All batches processed. Final result written to output table. Thread pool terminated. Resources released. File descriptors closed. Exit code: 0.

EXIT: 0 STATUS: DONE
PROCESS COMPLETE

Still Running

Event loop continues. No SIGTERM received. Awaiting shutdown signal from orchestrator. Uptime: 9h 30m. Connections active: 47. Queue depth: 12.

UPTIME: 9h30m CONN: 47
AWAITING SIGNAL
18:00:00

End of Day

Process A completed at 17:30 with exit code 0. Process B received SIGTERM at 18:00 and shut down gracefully. Both processes logged final state to the shared journal. Concurrent day complete.

PID 1 EXIT 0
PID 2 SIGTERM
18:00:00 FIN