120 |
such functionality is needed in lwIP, the following function will have |
such functionality is needed in lwIP, the following function will have |
121 |
to be implemented as well: |
to be implemented as well: |
122 |
|
|
123 |
- sys_thread_t sys_thread_new(void (* thread)(void *arg), void *arg) |
- sys_thread_t sys_thread_new(void (* thread)(void *arg), void *arg, int prio) |
124 |
|
|
125 |
Starts a new thread that will begin its execution in the function |
Starts a new thread with priority "prio" that will begin its execution in the |
126 |
"thread()". The "arg" argument will be passed as an argument to the |
function "thread()". The "arg" argument will be passed as an argument to the |
127 |
thread() function. The id of the new thread is returned. |
thread() function. The id of the new thread is returned. |
128 |
|
|
129 |
- sys_prot_t sys_arch_protect(void) |
- sys_prot_t sys_arch_protect(void) |