Page MenuHomePhabricator

Where available, use async_signals in libphutil
ClosedPublic

Authored by epriestley on Jan 12 2017, 11:53 PM.
Tags
None
Referenced Files
F19304053: D17200.diff
Dec 24 2025, 6:55 AM
F18854267: D17200.id41353.diff
Oct 31 2025, 10:53 PM
F18854266: D17200.id41353.diff
Oct 31 2025, 10:53 PM
F18836757: D17200.id.diff
Oct 27 2025, 3:31 AM
F18830047: D17200.id41353.diff
Oct 25 2025, 3:40 AM
F18766645: D17200.diff
Oct 7 2025, 5:43 PM
F18673134: D17200.id41361.diff
Sep 25 2025, 9:27 AM
F18602548: D17200.id41353.diff
Sep 13 2025, 3:26 PM
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