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

OSFLagPend blocking the thread even after timeout is happening.

Altera_Forum
Honored Contributor II
1,120 Views

Hi, 

 

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
Reply