Return to user process
Page 1 of 1

Author:  trashman [ Fri Aug 16, 2019 5:40 am ]
Post subject:  Return to user process

Earlier I asked about multitasking.
I came closer to solving the problem. I fixed all the errors in working with the stack (I think so). Now the errors do not bother me, but the fork does not return to the function in which it was called, however the retern is triggered. The process itself is in an isolated address space and is not copied to a new task. I thought that was the problem, but I was wrong. Giving access to this piece of memory, I could not solve the problem. What could be wrong??
Thus, if instead of returning from return, we switch to another kernel function, the task will work there. It turns out that the process does not know how to return to the user's task?
void main()
   int b = syscall_fork();   

      syscall_test(b); // print uid, work's
      syscall_test(b); // print uid, does not work

      for (int i = 0; i < 1000000; ++i){}

Author:  clarc [ Fri Dec 06, 2019 5:30 am ]
Post subject:  Re: Return to user process

Sounds like you need to store the three asssiignees as individual process variables and then use an expression in the assignee fields.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group