I have pthread that runs in a loop, calling accept() blocking way. Is there any way to abort this call from another thread? Everything indicates sending a signal stream, but apparently you can only send a signal to a process.
I canβt just kill the stream, because then it remains open. And it is not very clean. Is there really no way to do this?
source share