个人信息
状态: 离线
kewenliang
日历
« 2008-07  
  12345
6789101112
13141516171819
20212223242526
2728293031  
回复
收藏的论坛
文集
主题
进程任务结构体task_struct存放在哪里?
查看(283) | 回复(3) | 收藏
一个程序在单CPU机器上运行时,会产生多个进程吗?
查看(288) | 回复(7) | 收藏
代码:#include#include#include#include#include#define PROMPT "你想终止程序吗?"char *prompt=PROMPT;void ctrl_c_op(int signo){write(STDERR_FILENO,prompt,strlen(prompt));}intmain(){struct sigaction act;char a;act.sa_handler=ctrl_c_op;si ...
查看(315) | 回复(7) | 收藏
下面这段程序来自CSDN,编译顺利通过,运行时出现错误:connect() failed: operation now in progress看了半天不知道哪里出错了程序如下:#include/* for printf() and fprintf() */#include/* for socket() and bind() */#include/* for sockaddr_in and inet_ntoa() */#include/*...
查看(151) | 回复(2) | 收藏
大侠们,我要编写一个内核模块,加载到linux内核里面,现有以下问题:1.此模块可否以内核线程方式运行?2.如果可以,怎么实现(实现原理)?3.要运用此模块对用户进程进行某些操作,例如保存用户进程状态,可否实现?
查看(142) | 回复(1) | 收藏