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)
Fri, Dec 27, 12:38 AM
Unknown Object (File)
Sat, Dec 14, 11:10 PM
Unknown Object (File)
Thu, Dec 5, 3:22 AM
Unknown Object (File)
Dec 3 2024, 9:02 AM
Unknown Object (File)
Nov 29 2024, 10:13 AM
Unknown Object (File)
Nov 28 2024, 4:41 PM
Unknown Object (File)
Nov 24 2024, 11:58 PM
Unknown Object (File)
Nov 18 2024, 1:21 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