HomePhabricator

Where available, use async_signals in libphutil

Description

Where available, use async_signals in libphutil

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9640

Differential Revision: https://secure.phabricator.com/D17200

Details

Provenance
epriestleyAuthored on Jan 12 2017, 11:50 PM
epriestleyPushed on Jan 13 2017, 12:00 AM
Reviewer
chad
Differential Revision
D17200: Where available, use async_signals in libphutil
Parents
rPHUa2dbae060a5e: In PhutilAPCKeyValueCache, use APCu functions on APCu 5+
Branches
Unknown
Tags
Unknown
Tasks
T9640: Make Phabricator compatible with PHP7
Build Status
Buildable 15249
Build 20049: Run Core Tests

Event Timeline

This commit no longer requires audit.Jan 27 2017, 7:59 PM
This commit no longer requires audit.Jan 28 2017, 4:13 AM