lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Timeout cases


From: Fabian Cenedese
Subject: Re: [lwip-users] Timeout cases
Date: Thu, 24 Jan 2013 08:29:53 +0100

At 11:47 22.01.2013 +0100, Fabian Cenedese wrote:
>Hi
>
>I'm a bit unclear about the meaning of the timeout parameter
>for the semaphore and mbox functions. Any timeout >0 is
>obviously a time in milliseconds. However if timeout==0,
>does this mean "don't wait at all" or "wait until done"?
>
>For semaphores it seems that 0==forever (sys_arch_sem_wait).
>But for mboxes 0 doesn't seem to have a special meaning
>(sys_arch_mbox_(try)fetch). Is there no need to wait with
>infinite blocking on an mbox?
>
>I also can't seem to see a difference between fetch
>and tryfetch from the description.

I'm wondering if somebody can give me a pointer to some
documentation.

Thanks

bye  Fabi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]