Lines Matching refs:a

5 The operating system emulation layer provides a common interface
8 small changes to a few header files and a new sys_arch
9 implementation. It is also possible to do a sys_arch implementation
17 implemented in a higher layer.
26 either as a queue which allows multiple messages to be posted to a
27 mailbox, or as a rendez-vous point where only one message can be
28 posted at a time. lwIP works with both kinds, but the former type will
29 be more efficient. A message in a mailbox is just a pointer, nothing
37 Since lwIP 1.4.0, semaphore and mailbox functions are prototyped in a way that
50 Creates a new semaphore. The semaphore is allocated to the memory that 'sem'
51 points to (which can be both a pointer or the actual OS structure).
55 other error will provide a hint what went wrong, but except for assertions,
60 Deallocates a semaphore.
64 Signals a semaphore.
80 Notice that lwIP implements a function with a similar name,
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.
92 Invalidate a semaphore so that sys_sem_valid() returns 0.
95 This may also be a define, in which case the function is not prototyped.
102 and use a default size.
104 other error will provide a hint what went wrong, but except for assertions,
109 Deallocates a mailbox. If there are messages still present in the
110 mailbox when the mailbox is deallocated, it is an indication of a
125 Blocks the thread until a message arrives in the mailbox, but does
128 be blocked until a message arrives. The "msg" argument is a result
134 Number of milliseconds spent waiting or SYS_ARCH_TIMEOUT if there was a
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
146 To allow for efficient implementations, this can be defined as a
147 function-like macro in sys_arch.h instead of a normal function. For
148 example, a naive implementation could be:
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.
162 Invalidate a mailbox so that sys_mbox_valid() returns 0.
165 This may also be a define, in which case the function is not prototyped.
173 Starts a new thread named "name" with priority "prio" that will begin its
181 This optional function does a "fast" critical region protection and returns
185 might want to implement this by using a mutex or disabling tasking. This
195 This optional function does a "fast" set of critical region protection to the
213 mem_malloc() you can run into a circular function call problem. In mem.c
214 mem_init() tries to allcate a semaphore using mem_malloc, which of course
235 LWIP_PLATFORM_DIAG(x) - non-fatal, print a message.
241 SYS_ARCH_DECL_PROTECT(x) - declare a protection state variable.
245 If the compiler does not provide memset() this file must include a
246 definition of it, or include a file which defines it.
248 This file must either include a system-local <errno.h> which defines