Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12747 Discussions

Extend SimpleSocketServer example with pthread

Altera_Forum
Honored Contributor II
1,314 Views

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?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
589 Views

ucos-ii does not support pthreads.

0 Kudos
Altera_Forum
Honored Contributor II
589 Views

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?

0 Kudos
Reply