Hi !
Some unexpected behavior where observed with the priority management Processus/Threads.
When you change the priority of a processus, you need to select a pcb, go to the main thread and change the priority inside of the main thread.
The thing is if you change the priority of the main thread and then you call execv
, which will replace the main_thread
of the processus by a new one. The new main_thread
will not inherit the priority value and will use the default priority value. Is this behavior expected/intended ?
Another observed behavior, the new threads created for an application in userspace won’t inherit the priority of the main_thread
of the processus but use the default one (see so3/kernel/thread.c
). In my opinion this should be a bug.