doing the same thing with a pipe instead of an AF_UNIX socket btw works properly: all threads will hang in S.
Whether read() or recv() is used on the fd makes no real difference for the AF_UNIX case.
doing the same thing with a pipe instead of an AF_UNIX socket btw works properly: all threads will hang in S.
Whether read() or recv() is used on the fd makes no real difference for the AF_UNIX case.