open and read lots of files simutaneously

Guoqiang Mao G.Mao@cowan.edu.au
Sun Jul 30 21:23:00 GMT 2000


Dear gcc users,

I am running some simulations built on gcc. I need to open a text file
such that each process in my simulation can read the file independently
(when a process is started, it reads the file from the beginning). The
newly started process don't interfere with the reading of already
created processes.

Due to the limit on the maximum number of files that can be opened. I
cannot let each process open a file.  I wonder is there any other way in
gcc to realize the above operation.

Your help would be greatly appreciated.

Guoqiang
-- 
Guoqiang Mao
School of Engineering and Mathematics
Edith Cowan University
100 Joondalup Dr., Joondalup
Western Australia 6027
Tel: +61 8 94005318		Fax: +61 8 94005811


More information about the Gcc-help mailing list