Setting kernel thread priority

From: Chinmaya Mishra
Date: Fri Jul 07 2006 - 08:37:40 EST


Hi,

I am using linux kernel 2.6.10.
In a kernel module i am calling two functions in two
kernel threads using the api,

kernel_thread((void *)funName, NULL, CLONE_KERNEL);

Is there any procedure/apis available to set the thread priority?
Please help . . . . .

Thanks in advance.
Chinmaya



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/