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++
12620 Discussions

OSFLagPend blocking the thread even after timeout is happening.

Honored Contributor II



1. I am using OSFlagPend(ucos-iii) to block a thread to wait for an event for 180seconds (OS_CFG_TICK_RATE_HZ is 1000u). 

It is working fine i.e when the event is posted my thread is resuming the execution but when it doesn't receive any event within specified time it is getting blocked. 

Normally it should resume execution when timeout happens. Any Ideas? 


2. One more problem is ...delay function OSTimeDlyHMSM is not working, when I used OSTimeDlyHMSM(0,0,30,0,OS_OPT_TIME_HMSM_NON_STRICT,&oserr); the thread is getting blocked forever. 

Any idea? 


Thanks in advance.
0 Kudos
0 Replies