63 |
If the timeout argument is non-zero, the return value is the number of |
If the timeout argument is non-zero, the return value is the number of |
64 |
milliseconds spent waiting for the semaphore to be signaled. If the |
milliseconds spent waiting for the semaphore to be signaled. If the |
65 |
semaphore wasn't signaled within the specified time, the return value is |
semaphore wasn't signaled within the specified time, the return value is |
66 |
0xffffffff. If the thread didn't have to wait for the semaphore (i.e., it |
SYS_ARCH_TIMEOUT. If the thread didn't have to wait for the semaphore |
67 |
was already signaled), the function may return zero. |
(i.e., it was already signaled), the function may return zero. |
68 |
|
|
69 |
Notice that lwIP implements a function with a similar name, |
Notice that lwIP implements a function with a similar name, |
70 |
sys_sem_wait(), that uses the sys_arch_sem_wait() function. |
sys_sem_wait(), that uses the sys_arch_sem_wait() function. |
93 |
should be dropped. |
should be dropped. |
94 |
|
|
95 |
The return values are the same as for the sys_arch_sem_wait() function: |
The return values are the same as for the sys_arch_sem_wait() function: |
96 |
Number of milliseconds spent waitng or 0xffffffff if there was a timeout. |
Number of milliseconds spent waiting or SYS_ARCH_TIMEOUT if there was a |
97 |
|
timeout. |
98 |
|
|
99 |
Note that a function with a similar name, sys_mbox_fetch(), is |
Note that a function with a similar name, sys_mbox_fetch(), is |
100 |
implemented by lwIP. |
implemented by lwIP. |