Page MenuHomePhabricator

Where available, use async_signals in libphutil
ClosedPublic

Authored by epriestley on Jan 12 2017, 11:53 PM.
Tags
None
Referenced Files
F15442554: D17200.id41361.diff
Wed, Mar 26, 11:48 PM
F15442552: D17200.id41353.diff
Wed, Mar 26, 11:48 PM
F15442551: D17200.id.diff
Wed, Mar 26, 11:48 PM
F15441587: D17200.diff
Wed, Mar 26, 6:51 PM
F15435286: D17200.id.diff
Tue, Mar 25, 7:42 AM
F15432942: D17200.diff
Mon, Mar 24, 8:25 PM
F15432895: D17200.diff
Mon, Mar 24, 8:09 PM
F15424690: D17200.id41361.diff
Sat, Mar 22, 11:54 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
Branch
seven6
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15241
Build 20039: Run Core Tests
Build 20038: arc lint + arc unit