MCPcopy Create free account
hub / github.com/HackWebRTC/webrtc / IgnoreSigPipeSignalOnCurrentThread

Function IgnoreSigPipeSignalOnCurrentThread

rtc_base/task_queue_libevent.cc:60–65  ·  view source on GitHub ↗

This ignores the SIGPIPE signal on the calling thread. This signal can be fired when trying to write() to a pipe that's being closed or while closing a pipe that's being written to. We can run into that situation so we ignore this signal and continue as normal. As a side note for this implementation, it would be great if we could safely restore the sigmask, but unfortunately the operation of resto

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

DeleteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected