115 |
such functionality is needed in lwIP, the following function will have |
such functionality is needed in lwIP, the following function will have |
116 |
to be implemented as well: |
to be implemented as well: |
117 |
|
|
118 |
- void sys_thread_new(void (* thread)(void *arg), void *arg) |
- sys_thread_t sys_thread_new(void (* thread)(void *arg), void *arg) |
119 |
|
|
120 |
Starts a new thread that will begin its execution in the function |
Starts a new thread that will begin its execution in the function |
121 |
"thread()". The "arg" argument will be passed as an argument to the |
"thread()". The "arg" argument will be passed as an argument to the |
122 |
thread() function. |
thread() function. The id of the new thread is returned. |
123 |
|
|