ChinaUnix.net
相关文章推荐:

linux wait event

以下是代码部分 #define __wait_event_interruptible(wq, condition, ret) \ do { \ DEFINE_wait(__wait); \ \ for (;;) { \ prepare_to_wait(&wq, &__wait, TASK_INTERRUPTIBLE); \ if (condition) \ break; \ if (!signal_pending(current)) { \ schedule(); \ continue; \ } \ ret = -ERESTARTSYS; \ break; \ } \ finish...

by berniechen - 内核/嵌入技术 - 2006-09-01 16:08:36 阅读(1518) 回复(1)

相关讨论

v$session_wait,v$system_event,v$session分别是什么视图都?

by hliang0922 - Oracle - 2006-06-11 00:04:37 阅读(1044) 回复(1)

想用wait()来获得任一子进程的结束 #include "sys/types.h" #include "sys/wait.h" #include "stdio.h" main() { pid_t pid; if((pid=fork())<0) {printf("fork error."); exit(0); } else if (pid==0) { printf("1 ID:%d\n",getpid()); if ((pid=fork())<0) {printf("fork error."); exit(0); } else if (pid==0) { printf("2 ID:%d\n",getpid()); exit(0); } else sleep(2); } else printf("...

by andyY - C/C++ - 2003-06-13 18:30:35 阅读(3317) 回复(9)

现在我有2台linux机器,想把a机的一些数据拷贝到b机 在a上,vi /etc/hosts.equiv : b user1 在b上,vi /etc/hosts.equiv : a user1 不管在哪台机器上使用rcp,或者是rlogin 总是报 Connection refused 还有哪些步骤没完成呢?谢谢

by 南希 - Linux论坛 - 2005-10-13 19:07:36 阅读(963) 回复(0)

Is anyone create an event monitor before? I have created an event which will monitor on the statements and it's work fine for me. But I couldn't see the value for those dynamic sql as it's only display ? Anyone know how to get the value also??? Kindly pls advise.

by toms1981 - DB2 - 2007-11-22 19:28:03 阅读(4401) 回复(6)

[这个贴子最后由cinc在 2002/09/12 10:12pm 编辑] 基于事件的模式 设计模式中最常见的一种,本文介绍了一个发展出来的新的事件模式: Publisher-Subscriber 模式 event Notifier, a Pattern for event Notification http://www.dralasoft.com/products/eventbroker/whitepaper/ event Nodifier 是一种由 Mediator 和 Observr 模式结合而产生的一种模式。 实际上就是 Publisher-Subscriber 模式。 模式的中心是一个 eventSe...

by cinc - Java - 2002-09-14 18:50:48 阅读(3038) 回复(3)

在机器运行的时候,发现socket口上的time_wait状态有5千多个, 担心对系统的运行有影响. OS: Redhat linux ES3, core: linux system 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686 i686 i386 GNU/Linu 请问哪位高手知道如何配置redhat es3的time_wait时间, linux kernel 2.2 是用如下命令,但在es3的/proc/sys/net/ipv4目录下没有看到相关的参数, /sbin/sysctl -w net.ipv4.vs.timeout_timewait=60 另外请问: 怎么配置...

by peterbull - 网络技术 - 2007-04-04 23:34:21 阅读(2419) 回复(2)

运行netstat -t tcp 0 8703 zhfuq1:34225 192.168.12.23:8000 FIN_wait1 tcp 0 7469 zhfuq1:34145 192.168.12.23:8000 FIN_wait1 tcp 0 12783 zhfuq1:47192 192.168.12.23:8000 FIN_wait1 我每开一次我的客户端程序就会多一行,程序工作是状态是established,但是程序退出后,对应的连接信息仍然存在,状态变为FIN_wait1。...

by reiskie - 程序开发 - 2006-11-20 15:57:55 阅读(1044) 回复(1)

运行netstat -t tcp 0 8703 zhfuq1:34225 192.168.12.23:8000 FIN_wait1 tcp 0 7469 zhfuq1:34145 192.168.12.23:8000 FIN_wait1 tcp 0 12783 zhfuq1:47192 192.168.12.23:8000 FIN_wait1 我每开一次我的客户端程序就会多一行,程序工作是状态是established,但是程序退出后,对应的连接信息仍然存在,状态变为FIN_wait1。...

by reiskie - C/C++ - 2006-11-20 14:44:52 阅读(3294) 回复(2)

我按照KARIM的《构建嵌入式linux系统》所描述的方法,在RedHat9.0上建立基于Arm处理器的交叉开发工具完成以后。编译linux内核,已打过arm补丁。 到$make ARCH=arm CROSS_COMPILE=arm-linux- zImage 这一步时,刚开始就提示错误,大概如下: conflicting types for 'sys_wait4' extern declaration of 'sys_wait4' doesn't match global one 有关的文件是/include/asm/unistd.h /include/linux/sched.h 配置内核时...

by gcc_wind - 内核/嵌入技术 - 2006-07-30 20:17:15 阅读(609) 回复(1)

DLINK 530TX DRIVER INSTALL FOR REDHAT linux时要谝译驱动 请问如何谝译?????????

by redwaves - Linux论坛 - 2003-06-08 17:22:11 阅读(724) 回复(5)