I've always found signal_fd a bit confusing. After all, the standard method of handling signals in server programs has long been to write to a pipe in the signal hander. Otherwise you need pselect and related nonsense. But for normal signals signal_fd didn't add anything except performance.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds