Homec4science

Where available, use async_signals in libphutil

Authored by epriestley <git@epriestley.com> on Jan 13 2017, 00:50.

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

Committed
epriestley <git@epriestley.com>Jan 13 2017, 01:00
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUa2dbae060a5e: In PhutilAPCKeyValueCache, use APCu functions on APCu 5+
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU9d85dfab0f53: Where available, use async_signals in libphutil (authored by epriestley <git@epriestley.com>).Jan 13 2017, 01:00