由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - [转载] multi-timer programming in unix, question?
相关主题
想编一个从同一台机器上的很多虚拟IP地址发出packet的程序?How to send packet on a chosen interface?THX!
Help! How to set up a timer?[转载] How to Packet Capture in Linux
Linux/Unix下时间的精度 (转载)ns2 question!
about network setting in Unix..[转载] 有做网络的兄弟请帮忙
请教e-mail的设置紧急求助!
[转载] C problem[转载] smtp connection problem???
Re: HELP PLS! About the serial port--SOS!SOS!
How to show packet content by tcpdump?does Linux has real time timer?
相关话题的讨论汇总
话题: timer话题: unix话题: multi话题: question
进入Unix版参与讨论
1 (共1页)
z*h
发帖数: 22
1
【 以下文字转载自 Security 讨论区 】
【 原文由 zwh 所发表 】
hi, there,
if I have more than one periodic events (send out packet at a fixed
intervals) in a single unix program, how should I code it? it is
said that it is not a good way to have more than one timer at a time.
any hints? thanks.
c*****t
发帖数: 1879
2
Create a multi-thread program is the easiest solution.

【在 z*h 的大作中提到】
: 【 以下文字转载自 Security 讨论区 】
: 【 原文由 zwh 所发表 】
: hi, there,
: if I have more than one periodic events (send out packet at a fixed
: intervals) in a single unix program, how should I code it? it is
: said that it is not a good way to have more than one timer at a time.
: any hints? thanks.

1 (共1页)
进入Unix版参与讨论
相关主题
does Linux has real time timer?请教e-mail的设置
What is a jiffy in linux?[转载] C problem
Questions about MakefileRe: HELP PLS!
anyone used softbench in HP-UX???How to show packet content by tcpdump?
想编一个从同一台机器上的很多虚拟IP地址发出packet的程序?How to send packet on a chosen interface?THX!
Help! How to set up a timer?[转载] How to Packet Capture in Linux
Linux/Unix下时间的精度 (转载)ns2 question!
about network setting in Unix..[转载] 有做网络的兄弟请帮忙
相关话题的讨论汇总
话题: timer话题: unix话题: multi话题: question