[Top] [All Lists]

mapping a userspace thread to a kernelspace thread

Subject: mapping a userspace thread to a kernelspace thread
From: "Suprasad Mutalik Desai" <>
Date: Fri, 28 Sep 2007 10:53:25 +0530
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=dGKn1X/yEUx6iK+BANb/U5Bn6IWmSm6cZ3zOacw/Aco=; b=FlkSs1P6ppp/gQlnt8/8ldN/j1FS0r5HyEWIqmNasjrnjrk+n5GitpSLHt/IXqLqkv50eJ9e9R/v0qdl0E0zUJLuR2qMK5w9dUs/7GULw/4EyPMT7skOZwmCggBkGp0M+xtlZHP2QkHXJjRETtGSNMm5654bX0js8Ni/ENrlpxk=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gqx1kTGreCobz7MDK33qTL0gvDtD+03fOjQp8OskUsH26rEShpy3pxQyTrBPPUJjVYVWN+cDt4or5IeM2ud5+wO1RdrVAV3kNEAxYFC7lldXd1Lue1QBmG3dk/6Cnvzmdygv6zpeZ7VB9yHPk2qp9wZp/63BlG5pt/+88EuldSE=
Original-recipient: rfc822;
Hi list ,

            I want to know how can we map a userspace thread to a
kernel thread as mentioned in 1:1 threading model (linuxthreads) or
M:N model (NPTL)  . Does this happen by just calling a
pthread_create() in the userspace program or i need to do something
more in the kernel space . i am using 2.6.20 kernel  .
       I want to use this for multi threading operation in a SMP
environment where in i want to schedule a userspace program on another
processor by spawning a thread  . Can anyone help me in this.

Thanks and regards,

<Prev in Thread] Current Thread [Next in Thread>