Forum Discussion
Altera_Forum
Honored Contributor
16 years agoExtend SimpleSocketServer example with pthread
For demonstration purposes, I would like to extend the SimpleSocketServer example (that comes with the Altera dev kit) with pthread (POSIX).
I installed the NIOS-II development environment on my desktop. On my desktop (Windows XP), I can get the code to compile and execute. However, compiling and executing on an Altera Stratix II FPGA fails. Note that the SimpleSocketServer example uses ucos-ii as an operating system. Are default project settings of the SimpleSocketServer example incompatible for executing code using pthread on ucos-ii / Altera Stratix FPGA? Or does ucos-ii not support pthread?2 Replies
- Altera_Forum
Honored Contributor
ucos-ii does not support pthreads.
- Altera_Forum
Honored Contributor
Is there a chance that some kind of "operating system abstraction layer" is available, implementing the pthread- and time interfaces/functionalities on microC/OS-II?