when I write a script like NAT, how I can control the cpu

2005-04-16 Thread liscs 2005
hi, everyone, Recently, I program a script like NAT, but I have no idea how to let it possess more cpu resource? you know, in user space process is a small unit which possess the cpu and is controlled by schedule function. but in kernel space, it seems not the same thing as it in user

when I write a script like NAT, how I can control the cpu

2005-04-16 Thread liscs 2005
hi, everyone, Recently, I program a script like NAT, but I have no idea how to let it possess more cpu resource? you know, in user space process is a small unit which possess the cpu and is controlled by schedule function. but in kernel space, it seems not the same thing as it in user