79309314

Date: 2024-12-26 11:12:04
Score: 2
Natty:
Report link

Maybe have a look here: fopen and fwrite to the same file from multiple threads

Better define another thread, which is taking control over the file and implement a queue like structure that other tasks can fill with data.

The file thread will then pop (think FIFO) data from the structure and write it to the file.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: tl-photography.at