HF RL Explorer

Bank ATM Synchronization System with Semaphores

Bank ATM Synchronization System with Semaphores: a task in Terminal-Lego-15k (Harbor dataset). Implement a multi-threaded bank simulation system in C that processes ATM transaction commands from multiple input files concurrently, using POSIX semaphores for synchronization. The system must handle…

The task

Implement a multi-threaded bank simulation system in C that processes ATM transaction commands from multiple input files concurrently, using POSIX semaphores for synchronization. The system must handle multiple ATM threads (one per input file) and a bank monitoring thread that periodically prints account states.

Part of PrimeIntellect/Terminal-Lego-15k.