Lines Matching full:is
7 general idea is that porting lwIP to new architectures requires only
9 implementation. It is also possible to do a sys_arch implementation
14 sys_arch, but this is not required for the basic lwIP
16 implement timer scheduling as well but as of lwIP 0.5 this is
29 be more efficient. A message in a mailbox is just a pointer, nothing
32 Semaphores are represented by the type "sys_sem_t" which is typedef'd
46 Is called to initialize the sys_arch layer.
50 Creates a new semaphore. The semaphore is allocated to the memory that 'sem'
52 The "count" argument specifies the initial state of the semaphore (which is
56 no real error handling is implemented.
69 signaled. If the "timeout" argument is non-zero, the thread should
71 milliseconds). If the "timeout" argument is zero, the thread should be
72 blocked until the semaphore is signalled.
74 If the timeout argument is non-zero, the return value is the number of
76 semaphore wasn't signaled within the specified time, the return value is
85 Returns 1 if the semaphore is valid, 0 if it is not valid.
86 When using pointers, a simple way is to check the pointer for != NULL.
88 This may also be a define, in which case the function is not prototyped.
94 sys_sem_free() is always called before calling this function!
95 This may also be a define, in which case the function is not prototyped.
105 no real error handling is implemented.
110 mailbox when the mailbox is deallocated, it is an indication of a
116 the "msg" is really posted.
121 is full, else, ERR_OK if the "msg" is posted.
127 the sys_arch_sem_wait() function). If "timeout" is 0, the thread should
128 be blocked until a message arrives. The "msg" argument is a result
129 parameter that is set by the function (i.e., by doing "*msg =
137 Note that a function with a similar name, sys_mbox_fetch(), is
142 This is similar to sys_arch_mbox_fetch, however if a message is not
144 SYS_MBOX_EMPTY. On success 0 is returned.
155 Returns 1 if the mailbox is valid, 0 if it is not valid.
156 When using pointers, a simple way is to check the pointer for != NULL.
158 This may also be a define, in which case the function is not prototyped.
164 sys_mbox_free() is always called before calling this function!
165 This may also be a define, in which case the function is not prototyped.
168 such functionality is needed in lwIP, the following function will have
175 argument to the thread() function. The stack size to used for this thread is
176 the "stacksize" parameter. The id of the new thread is returned. Both the id
182 the previous protection level. This function is only called during very short
188 that case the return value indicates that it is already protected.
190 sys_arch_protect() is only required if your port is supporting an operating
197 more information. This function is only required if your port is supporting
205 for wraparound, this is only used for time diffs).