operating system - Semaphore under uCOS-III -


i use ucos-iii under arm cortex m4 , have following problem:

if ossempend() executed twice within same task), like

timeout = 100; /* 0.1 s */ ossempend(rtos_sem_p, timeout, os_opt_pend_blocking, null, &err); ... ossempend(rtos_sem_p, timeout, os_opt_pend_blocking, null, &err); ... 

(without issuing ossempost()) not run timeout @ second call block infinitely.

i checked can, still cannot find problem... can explain me happens here?

many thanks,

michael


Comments

Popular posts from this blog

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -