Forum Discussion
Altera_Forum
Honored Contributor
21 years agoSemaphore support
Hi, I'm currently trying to initialize a semaphore by making a call to sem_init(), but instead of returning a non-zero value and printing a error condition, Nios II reboots. struct sem_...
Altera_Forum
Honored Contributor
21 years agoI'm not sure if this is the problem, but you may need to turn on IPC support in the kernel in order for semaphore support to work.
Take a look at: .../altera/kits/nios2/examples/software/linux/apps/samples/thread for an example of semaphores...