linked linked linkedin whatsapp remove
Feedback

System Programming Quiz System Programming

In order to prevent signal handler race conditions, a developer must do which of the following?

Call sigsetmask() to set the signal mask to be blocked
Create a mutex within the handler to protect shared resources
Call sigaction() to block the signal and set the signal mask at the same time

Answer:
Call sigaction() to block the signal and set the signal mask at the same time

Note: This Question is unanswered, help us to find answer for this one