Page MenuHomePhabricator

Where available, use async_signals in libphutil
ClosedPublic

Authored by epriestley on Jan 12 2017, 11:53 PM.
Tags
None
Referenced Files
F18854267: D17200.id41353.diff
Fri, Oct 31, 10:53 PM
F18854266: D17200.id41353.diff
Fri, Oct 31, 10:53 PM
F18836757: D17200.id.diff
Mon, Oct 27, 3:31 AM
F18830047: D17200.id41353.diff
Sat, Oct 25, 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
F18601469: D17200.diff
Sep 13 2025, 12:35 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