Chinaunix首页 | 论坛 | 博客
  • 博客访问: 866170
  • 博文数量: 189
  • 博客积分: 4310
  • 博客等级: 上校
  • 技术积分: 1925
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-27 08:56
文章分类

全部博文(189)

文章存档

2015年(1)

2013年(2)

2012年(1)

2011年(39)

2010年(98)

2009年(48)

分类: LINUX

2010-01-05 18:41:55

• Tasklets run in software interrupt context with the result that all tasklet code
must be atomic. Instead, workqueue functions run in the context of a special
kernel process; as a result, they have more flexibility. In particular, workqueue
functions can sleep.
• Tasklets always run on the processor from which they were originally submitted.
Workqueues work in the same way, by default.
• Kernel code can request that the execution of workqueue functions be delayed
for an explicit interval.
阅读(701) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~