* @brief Creates a new process or thread (clone). * * This system call creates a new process or thread by duplicating the calling process. * The new process/thread begins execution by calling the function specified in the * `arg[]` array, which typically contains the necessary arguments or function pointer. * It is used to implement process/thread creation in the system and is often a lower-l
| 3479 | * creation can lead to resource exhaustion, deadlocks, or other synchronization issues. |
| 3480 | */ |
| 3481 | rt_weak long sys_clone(void *arg[]) |
| 3482 | { |
| 3483 | return _sys_clone(arg); |
| 3484 | } |
| 3485 | |
| 3486 | static void lwp_struct_copy(struct rt_lwp *dst, struct rt_lwp *src) |
| 3487 | { |
nothing calls this directly
no test coverage detected