I have a C application with many worker threads. It is essential that these do not block so where the worker threads need to write to a file on disk, I have them write to a
If you're working with the GNU libc, you might use memory streams.