Semaphore and delay



In the ADL User Guide for Open AT (v4.10), I have been reading about semaphores, and specifically about the adl_semConsumeDelay() function. The second argument of this function is a delay (a timeout).

I am wondering about the use of this delay : as OpenAt OS is not multitask (well, as far as I know), a semaphore wouldn’t be released during the call of this function. Whatever the timeout would be, if the semaphore is not available at the function call, it will never be.

I am understanding right ?

I would be pleased to learn your point of view.

Thanks in advance,