2011年4月26日

摘要: 在linux内核进程调度函数schedule()中定义了struct task_struct **p,它是指向指针的指针,由于linux内核中task数组定义如下:struct task_struct *task[NR_TASKS] = { &(init_task.task), }; /* * 'schedule()' is the scheduler function. This is GOOD CODE! There * probably won't be any reason to change this, as it should work well * 阅读全文
posted @ 2011-04-26 17:20 yming0221 阅读(273) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=2535Very Simple ProblemTime Limit:2000MSMemory Limit:65536KDescriptionDuring a preparation of programming contest, its jury is usually faced with many difficult tasks. One of them is to select a problem simple enough to most, if not all, contestants to solve.The difficulty 阅读全文
posted @ 2011-04-26 16:52 yming0221 阅读(177) 评论(0) 推荐(0)

导航