由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - how to solve this problem
相关主题
windows9x 下访问linux分区的东东installation tool
[转载] Any PC 2 Phone tools for Linux?[转载] any print screen tools in Linux or Unix?
who knows a tool for running unix file int NThow to get maps in master server?
how to ???????[转载] undefined reference to 'grBufferSwap'
Any Unix Download tools like NetAnt?[转载] Pdf highlighting tool?
any debugging tool?tool to trace function flow?
looking for IDE tool for g++ and gdb?一个困惑我的问题
any free tool/program that can sync LDAP servers?[转载] Re: gprof question
相关话题的讨论汇总
话题: tool话题: file话题: solve话题: disk话题: problem
进入Unix版参与讨论
1 (共1页)
a****a
发帖数: 24
1
I have to call a external tool in my C code.
the tool will read a file and generate some files to the disk,
I want to speed up this process, becuase I may have to call it
many times. The input file to this tool can be generated by my
code also. How can I use this tool without accessing disk?
I mean how can I feed the input file generated by my code to this
tool and force this tool output its result to the memory instead
of file in the disk? It seems that memor mapped file could be
a solution,
c*****t
发帖数: 1879
2
In general, you can't do it. On PC, you could try things like ramdisk.

【在 a****a 的大作中提到】
: I have to call a external tool in my C code.
: the tool will read a file and generate some files to the disk,
: I want to speed up this process, becuase I may have to call it
: many times. The input file to this tool can be generated by my
: code also. How can I use this tool without accessing disk?
: I mean how can I feed the input file generated by my code to this
: tool and force this tool output its result to the memory instead
: of file in the disk? It seems that memor mapped file could be
: a solution,

1 (共1页)
进入Unix版参与讨论
相关主题
[转载] Re: gprof questionAny Unix Download tools like NetAnt?
stty questionany debugging tool?
segmentation fault 求救looking for IDE tool for g++ and gdb?
哪里可以找到五笔字形和其它中文输入法的KEYBOARD MAPPINGany free tool/program that can sync LDAP servers?
windows9x 下访问linux分区的东东installation tool
[转载] Any PC 2 Phone tools for Linux?[转载] any print screen tools in Linux or Unix?
who knows a tool for running unix file int NThow to get maps in master server?
how to ???????[转载] undefined reference to 'grBufferSwap'
相关话题的讨论汇总
话题: tool话题: file话题: solve话题: disk话题: problem