io - programs running in parallel, read/writing in C -


I'm considering a set of 4 programs: (Prog 1, Prog 2, Projection 3, Project 4) Interacting with 4 files (File A,
  • Prog2: A reads and writes the file
  • Proof 3: reads file A, and writes file A (append)
  • Program 4: Reads file B, and writes the file to AD (Append)
  • Or maybe Prag 1, also read on startup, And write consistently to say filex.

    Now all 4 programs will run simultaneously (possibly on the network, but this should not make any difference). Will this work?

    I need to set a "strawbos" or "busy" signal (I can say that with MKDIR and RMDIR)?

    I think you need some kind of real fifo structure, which is also called pipe The Ta.

    can be found a few examples of Linux, named pipes under Windows


    Comments

    Popular posts from this blog

    MySql variables and php -

    url rewriting - How to implement the returnurl like SO in PHP? -

    Which Python client library should I use for CouchdB? -