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? |
|