Page MenuHomePhabricator

Where available, use async_signals in libphutil
ClosedPublic

Authored by epriestley on Jan 12 2017, 11:53 PM.
Tags
None
Referenced Files
F21797608: D17200.diff
Tue, Aug 11, 9:52 AM
Unknown Object (File)
Tue, Aug 4, 1:57 AM
Unknown Object (File)
Sun, Aug 2, 5:10 AM
Unknown Object (File)
Jul 5 2026, 1:01 AM
Unknown Object (File)
Jun 28 2026, 5:01 AM
Unknown Object (File)
Jun 27 2026, 1:47 AM
Unknown Object (File)
Jun 23 2026, 4:40 AM
Unknown Object (File)
Jun 23 2026, 4:34 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