Hello! I’m writing a Qt/c++ program that should write and read data on a file, while another process does the same. What file format should I use to prevent conflicts?

    • sip
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      sounds good, but you need to look into races.

      if program A used what it reads to write back and program B writes in the meanwhile A’s work won’t be ok.

      transactions solve this.