Forum Discussion
Altera_Forum
Honored Contributor
20 years agoMultitasking problem
Hello, I have modified Simple Socket Server example for my application where my processor is a client. In this I am required to send and recv simultaneously. So in the beginning in CreateS...
Altera_Forum
Honored Contributor
19 years agoIn order for a lower priority task to get CPU time the higher priority task must have a OS Pend (OSFlagPend, OSMBoxPend etc...) or OSTimeDly() somewhere. Maybe the recv() and send() functions are non blocking and therefore do not suspend the task.
I think you could use the select() function, which is blocking and uses the OS calls.