Re: Differnce between kthread and worqueue ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/13/2010 10:10 AM, Jiri Slaby wrote:
> On 05/13/2010 09:25 AM, ratheesh k wrote:
>> What is the real difference between these ? . I know that workqueue
>> run on process context and can sleep ..what about kthread ?
> 
> Well, workqueue runs in a kthread called name_of_your_workqueue/cpu
> ("/cpu" is omitted when singlethread wq). 

(And when you use just schedule_work and create no workqueue for
yourself, it's "events/cpu" kthread.)

-- 
js
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux