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)
Thu, Mar 28, 9:19 AM
Unknown Object (File)
Mon, Mar 25, 1:53 PM
Unknown Object (File)
Mon, Mar 25, 9:57 AM
Unknown Object (File)
Mon, Mar 25, 9:57 AM
Unknown Object (File)
Mon, Mar 25, 9:56 AM
Unknown Object (File)
Fri, Mar 22, 12:36 PM
Unknown Object (File)
Fri, Mar 15, 5:00 PM
Unknown Object (File)
Sun, Mar 10, 3:45 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