This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

semaphore_pend timeout

hello everyone,

I have two questions ?

Q1 : i am using semaphore_pend(Sem,timeout)  to pend task till Sem is post or timeout . the problem is as follows

i want timeout = 100 micro sec and clock module working with 1000us (=1ms) and if i change it to be 1us the bios scheduler never started.

so could anyone tell me how to use semaphore_pend with timeout in micro sec ?

Q2 : is there  function like(USTIMER_delay) but takes delay period in nano sec ?  

Thanks in advance.