mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
[smart][fix] lwp fork with data copy
This commit is contained in:
@@ -1721,6 +1721,7 @@ static void lwp_struct_copy(struct rt_lwp *dst, struct rt_lwp *src)
|
||||
dst->args = src->args;
|
||||
dst->leader = 0;
|
||||
dst->session = src->session;
|
||||
dst->background = src->background;
|
||||
dst->tty_old_pgrp = 0;
|
||||
dst->__pgrp = src->__pgrp;
|
||||
dst->tty = src->tty;
|
||||
|
||||
Reference in New Issue
Block a user