Skip to content

About

Concurrent highway toll-network simulator in C using processes, threads, IPC, shared memory, semaphores, and signals.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

Highway Network

Local machine highway toll-network simulator with shared live state.

Logo

Components

  • simulatord (C): single source of truth for simulation state.
  • CLI monitor (C): terminal client connected to daemon.
  • GUI app (Electron): desktop visual client connected to daemon.

Documentation

Run

  1. Build:
make build
  1. Start daemon (terminal 1):
make run-simulator
  1. Start CLI monitor (terminal 2):
make run-cli
  1. Start GUI (terminal 3):
cd apps/gui
npm start

Now both CLI and GUI interact with the same live state.

Socket Protocol

UNIX socket: build/highway-network.sock

Commands:

  • STATE
  • TICK <n>
  • RESET
  • QUIT

Response: single-line JSON snapshot.

About

Concurrent highway toll-network simulator in C using processes, threads, IPC, shared memory, semaphores, and signals.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages