由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - [转载] 写程序 通讯 的 API (IPC )
相关主题
how to check disk available using posix API?does Linux has real time timer?
parallel computationmultithread question
PVM bugs??which shell is the best among csh, ksh, bsh?
file descriptorpthread_kill SIGINT SIG_DFL multithread
[转载] alarm, pause 又一问Perl Q
Does Linux support thread?async-signal safe 问题
A Unix questionSocket programming help
what is the difference between pthread and thr_ ?a perl question
相关话题的讨论汇总
话题: api话题: pvm话题: ipc话题: xxx话题: need
进入Unix版参与讨论
1 (共1页)
c******n
发帖数: 4965
1
【 以下文字转载自 THU 讨论区 】
【 原文由 creation 所发表 】
要交project,
本来觉得很简单的问题,想着半天就应该做出来,
可逐渐发现现有的 packages 都不完全合适
a distributed algorithm protocol implementation
3 phase commit,
I need to show the effect of message delay ,so
I need to introduce artificial delay to real API xxx_send
I do this by spawning a POSIX thread, and then
do usleep() and XXX_send in that thread,
I use PVM for different processes, this is an overkill
but very easy to use because PVM has timed recv, ( I need timeout
in the protocol, and i
h****i
发帖数: 112
2
why not use select?

【在 c******n 的大作中提到】
: 【 以下文字转载自 THU 讨论区 】
: 【 原文由 creation 所发表 】
: 要交project,
: 本来觉得很简单的问题,想着半天就应该做出来,
: 可逐渐发现现有的 packages 都不完全合适
: a distributed algorithm protocol implementation
: 3 phase commit,
: I need to show the effect of message delay ,so
: I need to introduce artificial delay to real API xxx_send
: I do this by spawning a POSIX thread, and then

1 (共1页)
进入Unix版参与讨论
相关主题
a perl question[转载] alarm, pause 又一问
多次遇到这种问题:previous declaration of .....Does Linux support thread?
Can I get the CPU-time of a thread?A Unix question
[转载] Unix/Posix system programming trainingwhat is the difference between pthread and thr_ ?
how to check disk available using posix API?does Linux has real time timer?
parallel computationmultithread question
PVM bugs??which shell is the best among csh, ksh, bsh?
file descriptorpthread_kill SIGINT SIG_DFL multithread
相关话题的讨论汇总
话题: api话题: pvm话题: ipc话题: xxx话题: need