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)
Mon, Nov 18, 1:21 PM
Unknown Object (File)
Mon, Nov 18, 1:08 PM
Unknown Object (File)
Thu, Oct 31, 1:50 PM
Unknown Object (File)
Wed, Oct 23, 12:23 PM
Unknown Object (File)
Oct 22 2024, 5:20 AM
Unknown Object (File)
Oct 16 2024, 1:01 PM
Unknown Object (File)
Sep 15 2024, 6:57 PM
Unknown Object (File)
Sep 10 2024, 6:46 AM
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