Are read/write on pipes thread safe.
Hello,
I am using a pipe to communicate two threads and I am not sure on whether I must protect the read and write operation with a mutex or the kernel garantee that thsese operations are thread-safe.
Thank you in advance.
|