mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +08:00
libc: Move pthread_create to user space
Signed-off-by: Huang Qi <huangqi3@xiaomi.com> Change-Id: I5c447d94077debc79158686935f288e4c8e51e01
This commit is contained in:
@@ -225,6 +225,8 @@ typedef FAR void *pthread_addr_t;
|
||||
typedef CODE pthread_addr_t (*pthread_startroutine_t)(pthread_addr_t);
|
||||
typedef pthread_startroutine_t pthread_func_t;
|
||||
|
||||
typedef void (*pthread_trampoline_t)(pthread_startroutine_t, pthread_addr_t);
|
||||
|
||||
struct pthread_attr_s
|
||||
{
|
||||
uint8_t priority; /* Priority of the pthread */
|
||||
|
||||
Reference in New Issue
Block a user