When a privileged thread exits, we have to use the kernel alloctor to free...
When a privileged thread exits, we have to use the kernel alloctor to free memory; when an unprivileged thread exits, we don't have to do anything... heap memory will be cleaned up when the address environment is torn down
parent
53438bcb
Please register or sign in to comment