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
Post a Comment