#326249 Documentation and behavior of sigwait disagree