Simple program that solves the sleeping barber problem. The program is not complete and you'll need to complete mysem.c to implement semaphore.
This example exercises the following peripherals:
- STDOUT device (UART or JTAG UART)
This example includes the following software source files:
- hello_world.c: Everyone needs a Hello World program, right?
This example requires only a JTAG connection with a Nios Development board. If the host communication settings are changed from JTAG UART (default) to use a conventional UART, a serial cable between board DB-9 connector and the host is required.