Paul Herring wrote: > > On Wed, Jul 16, 2008 at 2:44 PM, Knowledge Seeker > <knowledgeseeker78@ gmail.com <mailto:knowledgeseeker78%40gmail.com>> > wrote: > > Hi ! > > > > Problem statement > > ------------ ------- > > Creating a directory watch thread. Process A writes a text file in a > > directory. Process B has to keep watching the directory, whenever a file > > is written on it. Process B reads the files and dumps the output on the > > screen, and deletes the file. > > That looks more like your solution to another (different) problem - > what are the two processes, and what is the data in the file being > created? > > -- > PJH > > 'Two Dead in Baghdad' not 'product-friendly' - Kent Ertugrul, chief > executive of Phorm. > > http://shabbleland. myminicity. com/env > <http://shabbleland.myminicity.com/env> > Process A creates a txt file containing a line "A quick brown fox jumps over the lazy little dog" Process B reads the txt file and displays it on the screen and then deletes the file. Process A again does .... process b again does the same ...
Meanwhile I will have a look at fstat as replied by Brett. Brett I will revert back soon on it :)
