On 8/7/21 11:42 AM, Warner Losh wrote:
From: Warner Losh<[email protected]>

cpu_copy shouldbe called when processes are creating new threads. It
copies the current state of the CPU to a new cpu state needed for the
new thread.

Signed-off-by: Stacey Son<[email protected]>
Signed-off-by: Warner Losh<[email protected]>
Signed-off-by: Justin Hibbits<[email protected]>
---
  bsd-user/main.c | 30 ++++++++++++++++++++++++++++++
  1 file changed, 30 insertions(+)

Reviewed-by: Richard Henderson <[email protected]>


r~

Reply via email to