Page MenuHomePhabricator

Where available, use async_signals in libphutil
ClosedPublic

Authored by epriestley on Jan 12 2017, 11:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 23, 4:40 AM
Unknown Object (File)
Tue, Jun 23, 4:34 AM
Unknown Object (File)
Mar 4 2026, 2:33 AM
Unknown Object (File)
Feb 4 2026, 1:55 AM
Unknown Object (File)
Dec 24 2025, 6:55 AM
Unknown Object (File)
Oct 31 2025, 10:53 PM
Unknown Object (File)
Oct 31 2025, 10:53 PM
Unknown Object (File)
Oct 27 2025, 3:31 AM
Subscribers
None

Details

Summary

Ref T9640. In libphutil, switches to the PHP 7.1 async_signals mechanism when it is available.

Test Plan

With the next change, ran daemons with bin/phd start and bin/phd debug, then ^C'd them.

  • Before patch: long hang.
  • After patch: They responded to the signals normally and exited promptly.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable