由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
CS版 - Re: for help on mmap for stdout (转载)
相关主题
为什么多个线程生成的随机数是一样的?cross validation and best model question
为啥用mmap访问文件的效率高呢?分类 clustering?
Linux下C++如何快速返回超大文件的某一行字符串? (转载)这里有码工网友吗? (转载)
问一个c++问题An interview question, what is the answer?
gcc 命令问题c不用thread,如何写“按任意键退出”?
继续请教perl的问题,请帮忙差错!多谢啦!cs master请教职业方向定位,有包子
an algorithm question[合集] 打算卖掉我写的一个小游戏
请问一个关于nlp parser的问题如何确保多线程程序在 multicore server 上 用所有的 core
相关话题的讨论汇总
话题: stdout话题: mmap话题: file话题: output话题: multi
进入CS版参与讨论
1 (共1页)
r*****r
发帖数: 867
1
【 以下文字转载自 Linux 讨论区 】
发信人: rushier (rushier), 信区: Linux
标 题: Re: for help on mmap for stdout
发信站: BBS 未名空间站 (Sun Mar 16 09:55:36 2008)
Thanks.
But it worked for stdin without problem.
I wanted to get input from one file, and output to another file after processing. The problem is that I need to use multi-threading. I think it is better to use mmap to output to a single file in multi-thread.
Is there better way to write to a single file or output to stdout in multi-threads?
1 (共1页)
进入CS版参与讨论
相关主题
如何确保多线程程序在 multicore server 上 用所有的 coregcc 命令问题
help prove the following code correctness?继续请教perl的问题,请帮忙差错!多谢啦!
一直没有很好理解thread join itself,哪位解惑一下 (转载)an algorithm question
CS opening @ Santa Clara, CA (转载)请问一个关于nlp parser的问题
为什么多个线程生成的随机数是一样的?cross validation and best model question
为啥用mmap访问文件的效率高呢?分类 clustering?
Linux下C++如何快速返回超大文件的某一行字符串? (转载)这里有码工网友吗? (转载)
问一个c++问题An interview question, what is the answer?
相关话题的讨论汇总
话题: stdout话题: mmap话题: file话题: output话题: multi